Here's a weird one. Until recently Safari on Mac would set a cookie expire
time of whatever I had it set in session_config. Out-of-the-blue it stopped
doing this and no matter what expire time I try to set it to, it defaults to
1 hour. The old CGI cookie method works fine, it's CAP::Session that is a
problem. All other browsers are fine either way.
Does anybody know of a Safari problem with CAP::Session cookies?
#---does not work
$self->session_config(
DEFAULT_EXPIRY => '+8h',
COOKIE_PARAMS => { -expires => '+8h' }
);
#---works fine
my $c = new CGI::Cookie(
-name => 'HCCSESSIONTEST',
-value => '12341234',
-expires => '+8h'
);
print "Set-Cookie: $c\n";
print "Content-Type: text/html\n\n";
Thanks!
Brad
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/[email protected]/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]