in reply to LWP::UserAgent doesn't see cookies in header
Have you tried setting up the cookie_jar for your UserAgent?
$ua->cookie_jar({ file => "$ENV{HOME}/.cookies.txt" });
for the infojobs page, the first visit does not send a cookie at all (and I wouldn't expect it to). By not setting up a cookie_jar, LWP::UserAgent will not forward any cookies received from earlier requests.
-derby
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: LWP::UserAgent doesn't see cookies in header
by zeno (Friar) on Mar 14, 2002 at 18:16 UTC | |
by derby (Abbot) on Mar 14, 2002 at 20:19 UTC | |
by oubiwann (Sexton) on Mar 15, 2002 at 05:45 UTC | |
by rjray (Chaplain) on Mar 15, 2002 at 00:59 UTC |