Jiffylube851 has asked for the wisdom of the Perl Monks concerning the following question:

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?

Replies are listed 'Best First'.
Re: Sending GET request doesn't seem to use cookie?
by naikonta (Curate) on Apr 17, 2007 at 13:56 UTC
    And what's the GET request code again? Come on, it'll likely more helpful for people to help you if you show your related code. Questions here doesn't usually take a long time to get answers, at least a respond. But yours has been around for about 10 hours while later posts have threaded. I'm not actually so sure but this could be a hint :-)

    Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!