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
|
|---|