Let's say I execute the following code and it doesn't work because the server
doesn't believe I have cookies enabled. The server returns "Cannot Identify
User. You must allow cookies in your browser so that PINVAL can identify you after
My code follows. It works agains other http's that don't need a cookie. I'm basically grabbing .HTML and dumping it to the disk.
$user_agent = new LWP::UserAgent;
$request = new HTTP::Request
$response = $user_agent->request($requ
open FILEHANDLE, ">file.txt";
print FILEHANDLE $response->content;
What can I do before hand to force the server to recognize my cookie?
I don't know much about the server, but when I sniff the transmission (during a IE 4.0 browser transmission) I see the following during a SEND.
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; version.dll)
Cookie: PINXZZZ=MYACCT; PINDDDID=MYACCT-46158x1937