curl-users
Re: Sms.aspx redirects to login.aspx on form post (actionusesjavascript); help wanted
Date: Tue, 14 Aug 2007 10:16:06 +0200
On Mon 13.08.2007 22:33, Ceriel Jacobs wrote:
>This is the postdata compared:
>
>Livehttpheaders:
>__LASTFOCUS=&ctl00_TreeView1_ExpandState=eennnnnnn&ctl00_TreeView1_Selec
>tedNode=&__EVENTTARGET=ctl00%24ContentPlaceHolder1%
^^^^^^^^^^^^^
>24SendSMS&__EVENTARGUMENT=&ctl00_TreeView1_PopulateLog=&__VIEWSTATE=%%
^^^^^^^^^^^^^^
>VIEWSTATE%%&ctl00%24ContentPlaceHolder1%24TBPhoneNr=%%PHONENUMBER%%
>&ctl00%24ContentPlaceHolder1%24DDLSMSCallerId=1601&ctl00%
>24ContentPlaceHolder1%24message=%%MESSAGE%%
>Curl --traceascii:
>__LASTFOCUS=&ctl00_TreeView1_ExpandState=eennnnnnn&ctl00_TreeView1_Selec
>tedNode=&__EVENTTARGET=ctl00%24ContentPlaceHolder1%
^^^^^^^^^^^^
>24SendSMS&__EVENTARGUMENT=&ctl00_TreeView1_PopulateLog=&__VIEWSTATE=%%
^^^^^^^^^^^^^
>VIEWSTATE%%&ctl00%24ContentPlaceHolder1%24TBPhoneNr=%%PHONENUMBER%%
>&ctl00%24ContentPlaceHolder1%24DDLSMSCallerId=1601&ctl00%
>24ContentPlaceHolder1%24message=%%MESSAGE%%
>Livehttpheaders:
>https://myaccount.1601telecom.nl/Profile/SMS.aspx
^^^^^^
>0121: <form name="aspnetForm" method="post" action="Login.aspx" id
>0161: ="aspnetForm">
>0171: <div>
>0178: <input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="
>01b8: " />
>01be: <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" val
>01fe: ue="" />
>0208: <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT"
>0248: value="" />
>0256: <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="
>0296: %%VIEWSTATE%%" />
>0d34: </div>
>0d3c:
>0d3e: <script type="text/javascript">
>0d5f: <!--
>0d65: var theForm = document.forms['aspnetForm'];
>0d92: if (!theForm) {
>0da3: theForm = document.aspnetForm;
>0dc7: }
>0dca: function __doPostBack(eventTarget, eventArgument) {
^^^^^^^^^^^^
http://aspalliance.com/895#Page2
or
http://www.google.com/search?q=__doPostBack
What I have also seen is:
== Info: Replaced cookie .ASPXAUTH="" for domain myaccount.
could this be the problem?!
BR
Aleks
Received on 2007-08-14