http://qs1969.pair.com?node_id=187319


in reply to LWP cookie mystery

Try using $ua->cookie_jar($cookie_jar) before the request, instead of the $cookie_jar->extract_cookies($resp); after the request. The latter wont pick up cookies recieved on redirects in the original request (I've hit plenty of sites with this problem).

T I M T O W T D I

Replies are listed 'Best First'.
Re: LWP cookie mystery
by Anonymous Monk on Aug 03, 2002 at 15:55 UTC
    Hi,
    I just want to say thanks to you guys for helping me out with this script (I got the script working earlier today). Once I started to ignore output to file, everything got much easier.Just let the force of LWP do the work and ignore cookie-fileoutput..

    Special thanks to dws for his similar script as the one I was trying to make.

    I hope to become a better coder so that I can come back and offer help too.
    Regards,Tom