develooper Front page | perl.libwww | Postings from October 2001

problem fetching the page : can anyone help me out

Rahul Garg
October 9, 2001 06:01
problem fetching the page : can anyone help me out
Message ID:

i want to automate the form and want to access /xyz.asp?b=KV page.
after filling in correct email and password fields i am not able to access the page , instead i get the  page.

i am requesting like this-
my $req = POST '',
               [ Email => '',
                 Password => rahul,
                PageWanted =>

The following fields are in the footer of the page(comments) that i fetch thru web
browser after filling in the email anfd passworld fields of form at url  

PageWanted - Session [/investments.asp?c=KVY0UBMH]              //This  is the page i actually want to fetch
LoggedIn - Session [1]
Password - Session [rahul]
AccountID - Session [113274]

Any suggestions for fetching the correct page.May be the asp server prog. using the session to handle it. can i access it thru client side.

- working on linux.
the eg source code for form( assume the form is syntactically correct)present in is given below--
<form action="" method="post">
<input type="text" value="" name="Email">

<input type="password"  value="" name="Password">

<input type="checkbox" name="Cookie" id="Cookie">&nbsp;
<label for="Cookie">Check  box  if u want   e-mail address and pass word stored for automatic signin </label>

<input type="hidden" name="PageWanted" value="/xyz.asp?b=KV">
<input type="hidden" name="Buttonenter" value="enter">
<input type="hidden" name="cancelRe-direct" value="/">
<input type="submit" value="enter">&nbsp;
<input type="submit" name="Buttoncancel" value="cancel">&nbsp;
<input type="submit" name="ButtonE-mailPasword" value="E-mailPasword">

Rahul Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About