|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
hi, how can i perform an automated login to web-based authentication like the following URL?
http://www.temasekclub.org.sg/MemberLoginParm.asp?FacilityTypeCode=100 |
|
#2
|
|||
|
|||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Corisen:
hi, how can i perform an automated login to web-based authentication like the following URL? http://www.temasekclub.org.sg/Membe...ityTypeCode=100 [/quote] You are asking how to write something (like a URL) that automatically authenticates and returns the page inside the members area?? If you have the username and password, something like this should work (for perl, don't know much about ASP): http://www.temasekclub.org.sg/Booki...word=MyPassword I took "BookingPageSports.asp" from the action tag (of the source), there was some extra stuff '?NofDays=" 8' that may be important (looks malformed). And the '?UserId=MyUsername&UserPassword=MyPassword'are the HTTP standard way to passing two peices of data to a CGI script. I got their names by reading the source. Does that answer your question? |
|
#3
|
|||
|
|||
|
thanks for your reply.
i'm thinking of using perl (or other more efficient tools) to automate the login at a pre-defined time and automatically book the facilities. do u think it is possible? |
|
#4
|
|||
|
|||
|
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Corisen:
thanks for your reply. i'm thinking of using perl (or other more efficient tools) to automate the login at a pre-defined time and automatically book the facilities. do u think it is possible?[/quote] I'm certain that it is possible. But it may be quite a bit harder than it looks on the surface and I don't know enough about what you are doing to say whether it seems like a good idea. A friend spent a year on a team coding a java system for surfing competitor's rates. To make a robust system you could spend a lot of time, I think. Maybe you have a simpler thing in mind. -Alan |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > automate login & booking |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|