![]() |
|
"be consistent" | |
PerlMonks |
Cookie expires inaccuratelyby BioHazard (Pilgrim) |
on Dec 28, 2002 at 14:04 UTC ( #222729=perlquestion: print w/replies, xml ) | Need Help?? |
BioHazard has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks, I am working on a cookie-managed community system but my cookies expire too inaccurately, in detail: too early. I am using Apache 1.27x on a Win32 (NT 5.1) machine, ActiveState Perl 5.6 and the module CGI. With the script shown below, the cookie is supposed to expire 10 minutes after being set. I have counted the time and found out that it actually expired after 8 minutes and ~50 seconds. When I do this test again with -expires => "+30s", the cookie won't be set at all. Do you have any Ideas how this problem can be solved? BioHazard reading between the lines is my real pleasure
Back to
Seekers of Perl Wisdom
|
|