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

Re: problem fetching the page

Thread Previous
October 29, 2001 22:11
Re: problem fetching the page
Message ID:
Are you required to pass a cookie back with your POST?

I had a similar problem with a site the sent out a random cookie every five
minutes and would not let you in unless you had the new cookie passed with
the POST...  If this is the case, I have a solution.  If not, I won't
clutter the list with the code.  Let me know.


----- Original Message -----
From: "Rahul Garg" <>
To: <>
Sent: Wednesday, October 03, 2001 12:47 AM
Subject: problem fetching the page

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 => raj,
                PageWanted =>

Any suggestions for fetching the correct page.May be the asp server prog.
using the session to handle it.

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">


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