asiufy has asked for the wisdom of the Perl Monks concerning the following question:
And then, when the request method is called, the file is generated, but it is empty, with only the #LWP-Cookies-1.0 comment line... I have found a node here that says that HTTP::Cookies can't handle SetCookies3 header fields, so I checked the contents of the HTTP::Response object, and here's what I got:$ua->cookie_jar(HTTP::Cookies->new(file => "cookies.txt", autosave => +1));
So, it seems normal, no SetCookie3... Yet, I can't get the cookie contents ... What could be the problem? Thanks!Set-Cookie: JSESSIONID=6kt778cd11;Path=/smp Set-Cookie2: JSESSIONID=6kt778cd11;Version=1;Discard;Path="/smp"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HTTP::Cookies is saving an empty file
by chromatic (Archbishop) on Jan 23, 2002 at 02:17 UTC | |
by asiufy (Monk) on Jan 24, 2002 at 00:55 UTC | |
|
RTFM: HTTP::Cookies is saving an empty file
by larryk (Friar) on Jan 23, 2002 at 14:47 UTC | |
|
Re: HTTP::Cookies is saving an empty file
by ropey (Hermit) on Jan 23, 2002 at 21:48 UTC | |
by Anonymous Monk on Jun 23, 2003 at 01:37 UTC |