Perl Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPerl Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old November 21st, 2000, 10:50 AM
Corisen Corisen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 1 Corisen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old November 21st, 2000, 05:43 PM
amead amead is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 5 amead User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<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?

Reply With Quote
  #3  
Old November 21st, 2000, 08:10 PM
Corisen Corisen is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 1 Corisen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #4  
Old November 21st, 2000, 09:50 PM
amead amead is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 5 amead User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
<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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesPerl Programming > automate login & booking


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway