Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: HTTP POST & Cookie

by trantor (Chaplain)
on Jul 20, 2004 at 15:40 UTC ( #375978=note: print w/replies, xml ) Need Help??


in reply to HTTP POST & Cookie

I couldn't try your code because you didn't follow the Writeup Formatting Tips, however you need at least to define a cookie jar where to store your cookies on the client side, for example:

$ua = LWP::UserAgent->new(cookie_jar => $cookie_jar_name);

LWP::UserAgent has much more on the subject of setting up a cookie jar.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2023-11-30 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?