Fellow Monks,
I'm in a bit of a dilemma. It's a rather stupid question but frankly it's got me stumped.
The Problem:
I am using LWP::UserAgent to connect to a webpage and get a response. I also added in a cookiejar like so:
$ua->cookie_jar(HTTP::Cookies->new(file => "cookies.txt", autosave =>
+1));
The website has no problem seeting the cookie within cookies.txt. But then the response that the website sends back to me is that it could not set the cookie.
Could the website be trying to set the cookie and then check it in the same request? Is this possible? I'm really stumped as I have just started to use HTTP::Cookies and LWP::UserAgent and am sorta confused as to why this i happening. Thank you ahead of time. later
DKode