Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: Simulating --keep-session-cookies wget option with LWP ?

by i5513 (Monk)
on Sep 27, 2011 at 11:57 UTC ( #928073=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Simulating --keep-session-cookies wget option with LWP ?
in thread Simulating --keep-session-cookies wget option with LWP ?

Hello,

Thank you clarifying that issue, using ignore_discard attribute in HTTP::cookies, made the code works.

my $cookie_jar = HTTP::Cookies->new( file => "mycookie-tomcat.cookie", autosave => 1, ignore_discard => 1 );

I don't know if can be future problems with this option enabled. In my case (pooling tomcat manager I suppose that should not be any problem).

Thank you again
PD: I hope this node doesn't appear two times, if so , sorry


Comment on Re^6: Simulating --keep-session-cookies wget option with LWP ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-08-02 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Who would be the most fun to work for?















    Results (56 votes), past polls