Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Passing a cookie with LWP::UserAgent

by arc_of_descent (Hermit)
on May 13, 2005 at 09:02 UTC ( #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
Node Status?
node history
Node Type: note [id://456632]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2021-05-18 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (176 votes). Check out past polls.

    Notices?