> From: "Ihnen, David" <[EMAIL PROTECTED]>
>
> In the end, this syntax worked:
> $Response->Cookies('issue')->SetProperty('Item', 'eventdisplay',
> $eventdisplay);
>
This doesn't seem to address setting expiration or path.

I spent several hours trying every permutation of syntax and
searching every source I could find to get cookie expiration
to work from the $Response object.  Finally, I resorted to:

$Response->{Buffer}=1; # Must set prior to any other output.
$Response->Addheader("Set-Cookie", "mycookie=$value; expires=01-Jan-3000
00:00:00 GMT; path=/");

With many thanks to many,
--Steve

P.S. - I'd still love to see a snippet of working code using
the $Response->Cookies collection to set expiration and path.



_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to