Hi,
I'm having some problems with Internet Explorer when trying to set a "expires" value.
With Firefox everything is working fine. After 1 minute, the cookie expires but not with IE. I read that IE is now using max-age (in seconds) to define the expiry time. Even after populating the value, the cookie is still not expiring.
Any advice would be appreciated.
I'm having some problems with Internet Explorer when trying to set a "expires" value.
Code:
my $cookie = $cgi->cookie(-name=>"id", -value=>$id, -domain=>"domain.com", max-age=>'60', -path=>'/cgi-bin/', -expires=>'+1m');
With Firefox everything is working fine. After 1 minute, the cookie expires but not with IE. I read that IE is now using max-age (in seconds) to define the expiry time. Even after populating the value, the cookie is still not expiring.
Any advice would be appreciated.