Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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

by i5513 (Pilgrim)
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 ?


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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928073]
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: (5)
As of 2016-10-26 06:35 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (336 votes). Check out past polls.