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 April 5th, 2005, 07:31 AM
houdis houdis is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Apr 2005
Posts: 1 houdis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 13 sec
Reputation Power: 0
Logging in to a website using.

Hello,

I have a problem that I cant seem to find a solution for.
I need to login to a partner site to get update job data.
That has to be done every 3 hours.
I would like to make a script that will check this and notify
me with an e-mail when anything changes, which would make my days
easier.

The problem is that I cant make a script to automatically login to the site.
The form for authentication follows:

<form name="WebForm1" method="post" action="Default.aspx" language="javascript" onsubmit="if (!ValidatorOnSubmit()) return false;" id="WebForm1">
<input type="hidden" name="__VIEWSTATE" value="dDwtOTY0ODk4MDY0O3Q8O2w8aTwxPjs+O2w8dDw7bDxpPDE+Oz 47bDx0PDtsPGk8Mz47PjtsPHQ8cDxwPGw8VGV4dDs+O2w8XGU7 Pj47Pjs7Pjs+Pjs+Pjs+Pjs+sb5myG1JP2fuwGEjJ59nQ373rj 8=" />

<input name="txt_user" type="text" maxlength="10" id="txt_user" tabindex="1" style="border-width:1px;border-style:solid;width:126px;" />
<span id="RequiredFieldValidator1" controltovalidate="txt_user" errormessage="Användarnamn" display="Dynamic" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;display:none;">*</span><BR>

- - - -- - Some html code...

<input name="txt_pass" type="password" maxlength="10" id="txt_pass" tabindex="2" style="border-width:1px;border-style:solid;width:125px;" />
<span id="RequiredFieldValidator2" controltovalidate="txt_pass" errormessage="Lösenord" display="Dynamic" evaluationfunction="RequiredFieldValidatorEvaluateIsValid" initialvalue="" style="color:Red;display:none;">*</span><BR>

- - - -- - Some html code...

<input type="submit" name="cmd_login" value="Logga in" onclick="if (typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); " language="javascript" id="cmd_login" tabindex="3" style="border-width:1px;border-style:solid;font-weight:bold;width:64px;" />&nbsp;
<input type="submit" name="cmd_clear" value="Rensa" id="cmd_clear" tabindex="4" style="border-width:1px;border-style:solid;font-weight:bold;width:50px;" /><BR>

<div id="ValidationSummary1" headertext="Följande uppgifter saknas" showmessagebox="True" showsummary="False" style="color:Red;display:none;">

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
var Page_Validators = new Array(document.all["RequiredFieldValidator1"], document.all["RequiredFieldValidator2"]);
// -->
</script>
<SCRIPT language='javascript'>document.getElementById('txt_user').focus() </SCRIPT>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationActive = false;
if (typeof(clientInformation) != "undefined" && clientInformation.appName.indexOf("Explorer") != -1) {
if ((typeof(Page_ValidationVer) != "undefined") && (Page_ValidationVer == "125"))
ValidatorOnLoad();
}
function ValidatorOnSubmit() {
if (Page_ValidationActive) {
return ValidatorCommonOnSubmit();
}
return true;
}
// -->
</script>

</form>

Is there anyone that can help me to find a way to make a automatic login based on the information ?

/P-H

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Logging in to a website using.


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 6 hosted by Hostway