Briefly, I'm using HTTP::Cookies::Microsoft and creating a cookie jar so that when I send a GET request, it uses the IE cookie that I already have. I want it to use the cookie so that the site sees me as already logged in. I know I have the right cookie path, because when I load them all up front, I can hear the disk churning. I am using IE6. However, though the GET request works fine, it doesn't seem to use the cookie. Here's an example output from LWP::Debug, for www.perlmonks.org (which is not the site I am interested in, but which I do have a cookie for).
HTTP::Cookies::add_cookie_header: Checking www.perlmonks.org for cooki +es HTTP::Cookies::add_cookie_header: Checking .perlmonks.org for cookies HTTP::Cookies::add_cookie_header: Checking perlmonks.org for cookies HTTP::Cookies::add_cookie_header: Checking .org for cookies LWP::UserAgent::send_request: GET http://www.perlmonks.org LWP::UserAgent::_need_proxy: Not proxied LWP::Protocol::http::request: () LWP::Protocol::collect: read 847 bytes LWP::Protocol::collect: read 3356 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 4096 bytes LWP::Protocol::collect: read 284 bytes LWP::Protocol::collect: read 3699 bytes LWP::UserAgent::request: Simple response: OK
Help?

In reply to Sending GET request doesn't seem to use cookie? by Jiffylube851

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.