
baghu
New User
Aug 9, 2010, 1:16 AM
Post #1 of 1
(3274 views)
|
https login using WWW::Mechanize
|
Can't Post
|
|
Hi I'm new to perl. I have issues logging into a https website. <p> When I submit the form through firefox browser, the url gets redirected to two other url's finally landing me into the homepage LOGGED IN. I see the cookies being updated very frequently by the web server though I've disabled java settings in the browser. <p> When I do submit the form using WWW::Mechanize, I end up in the homepage but NOT LOGGED IN. Looking at the redirected requests and response headers, I was able to figure out that the cookies get appended properly in the first redirected request. In the redirected response set-cookies I see the 'loggedin== true' and other user related info padded from the server. I assume I was logged into the website but on the 2nd auto redirected request, I barely see any info padded in the request from Mech's end. And the response to that request comes with 'loggedin==false' and lands me in the homepage.<p> Could anyone please help me understand things better. <p> Thanks
(This post was edited by baghu on Aug 10, 2010, 5:17 PM)
|