Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

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 ASP Free Forums Sponsor:
  #1  
Old November 9th, 2004, 09:53 AM
JTerrell JTerrell is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Posts: 1 JTerrell User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Creating a program to automatically login to a website

A website has an offer I'd like to capitilize on. Its on a first come first serve basis. All I have to do is log-on to the site and hit the submit button. I'd like to write a program that would continually send the login info and the submit button over and over. Its and .asp webpage.

The login looks like this:
<TABLE BORDER=0 class=tableStyle>
<TR class=normalFont>
<TD>Username: </TD>
<TD><INPUT TYPE="text" NAME="p_username" SIZE=20 MAXLENGTH=20 ></TD>
</TR>
<TR class=normalFont>
<TD>Password: </TD>
<TD><INPUT TYPE="password" NAME="p_pass1" ></TD>
</TR>
<TR >
<TD><BR></TD>
<TD><BR></TD>
</TR>
<TR >
<TD><TD align="left"><INPUT TYPE="submit" VALUE="Submit Login" ></TD>
</TR>
</TABLE>

The submit button looks like this:

<INPUT TYPE="submit" name="SubmitApplication" VALUE="Submit Complete Application" disabled>

I'd like the program to loop over and over again. Any ideas on how to do this?

Reply With Quote
  #2  
Old November 10th, 2004, 11:53 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
What language do want to do this in? If you want to use ASP research Microsoft.XMLHTTP. This can "scrape" a page by POSTing the username and password for you
__________________
selwonk

If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more!

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Creating a program to automatically login to a website


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
Stay green...Green IT