Perl-Sensitive Sunglasses | |
PerlMonks |
CGI::Cookie - Safari won't accept -expiresby Tatnall (Beadle) |
on Dec 22, 2006 at 21:56 UTC ( [id://591392]=perlquestion: print w/replies, xml ) | Need Help?? |
Tatnall has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I'm using CGI::Cookie trying to set an expire value for 30 minutes ( '+30m' ). Safari won't accept the value and leaves the expire field blank. Does anyone know a solution for this using CGI::Cookie? The cookie expirations are working perfectly in Firefox, Opera, and IE. I've searched around the monastery and tried to find any information about the problem with no luck. I found HTTP::Cookies::Safari, which seems to address the problem in it's README:
This package overrides the load() and save() methods of HTTP::Cookies
so it can work with Safari cookie files.
Thanks,Note: If the source Safari cookie file specifies and expiry date past the unix 32-bit epoch, this file changes the expiry date to 0xFFFFFFFF in unix seconds. That should be enough for anyone, at least to the next release.
Tatnall
"Recognizing who we aren't is only the first step toward knowing who we are." - Os Guinness
Back to
Seekers of Perl Wisdom
|
|