Hey

Thanks... I can now see the cookies getting padded to the requests, but on the third request (where I'm redirected to the homepage)I just see

Cookie2: $Version="1".

In response to that request, the http response cookie has the field "loggedin=false" which was 'true' in all the prior transactions. I was even able to see my user ID & other personal info fetched from the server in the cookie fields in the first 2 trransactions. So I assume I was logged into the server before this transaction happened. Am I still logged in ?

'Client-SSL-Warning: Peer certificate not verified' for the first 2 requests. Is that an issue ?

The field 'Connection' is always 'close' in response to my requests where I set that field to 'keep-alive'.

How do I remain logged in to continue with further transactions ?

Please help.... thanks


In reply to Re^2: https login using WWW::Mechanize by baghu
in thread https login using WWW::Mechanize by baghu

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.