Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: LWP cookie mystery

by Cine (Friar)
on Aug 03, 2002 at 09:13 UTC ( #187319=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://187319]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2020-05-25 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (146 votes). Check out past polls.

    Notices?