Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Passing a cookie with LWP::UserAgent

by arc_of_descent (Hermit)
on May 13, 2005 at 09:02 UTC ( [id://456632]=note: print w/replies, xml ) Need Help??


in reply to Passing a cookie with LWP::UserAgent

My guess is that you're not creating the cookie jar in the right manner. I don't think it accepts "name => value" pairs. You need to create a HTTP::Cookies object and use that in LWP's cookie_jar method. Then you can maybe use set_cookie to create a cookie.

  • Comment on Re: Passing a cookie with LWP::UserAgent

Replies are listed 'Best First'.
Re^2: Passing a cookie with LWP::UserAgent
by Anonymous Monk on May 11, 2010 at 14:52 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-20 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found