Ah yes.  Sorry, turns out I copied wrong code into my original email.
I DO have Domain, in my working code (work on everythign but Safari that is).
Host was in there from a few tests ago (I noticed that some cookies had 
Host and
not Domain, so i figured I'd try).
Thanks for cathing that.
--Alex

Quoting Philipp Hanes <[EMAIL PROTECTED]>:

>
>> 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
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to