Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 examining the Monastery: (7)
As of 2015-07-06 06:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls