> Here is the code I started with and have reverted back to: > ---------------------------------------------- > my $cookie = "Set-Cookie: " . > "$COOKIENAME=$cookieContent; " . > "Host=www.wpi.edu; " . > "expires=+1h\n"; > print $cookie; > ----------------------------------------------
One thing I notice is that the RFC mentions "Domain" and not "Host" http://www.faqs.org/rfcs/rfc2965.html Also, "Version" is required, according to that document. It's been a long time since I built cookies by hand, but perhaps the cookie is being rejected because it does not conform? _______________________________________________ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm