Hi there,
I have troubles resetting cookie expiry time in IE and some
versions of Netscape on Linux.
The code i use is as follows
$the_cookie = cookie(-name=>'sid',
-value=>$session_id,
-expires=>'+2m',
-domain=>'.vicnet.net.au',
-path=>'/');
print header(-cookie=>$the_cookie);
Time passes..........The user hits on a log out button and the same code is
called..but the expires variable gets reset to '1s' .My problem is...that it
doesn't take this into account..and keeps the cookie active till the 2
minutes have passed.
Has anyone come across this problem..?
I have troubles resetting cookie expiry time in IE and some
versions of Netscape on Linux.
The code i use is as follows
$the_cookie = cookie(-name=>'sid',
-value=>$session_id,
-expires=>'+2m',
-domain=>'.vicnet.net.au',
-path=>'/');
print header(-cookie=>$the_cookie);
Time passes..........The user hits on a log out button and the same code is
called..but the expires variable gets reset to '1s' .My problem is...that it
doesn't take this into account..and keeps the cookie active till the 2
minutes have passed.
Has anyone come across this problem..?