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
In reply to Re: LWP::UserAgent doesn't see cookies in header
by derby
in thread LWP::UserAgent doesn't see cookies in header
by zeno
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |