note 12021 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 07:13:36 +0000
Subject: note 12021 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40710@lists.php.net to get a copy of this message
I found that IE 5.50.4422.1800 on windows doesn't like the expiration field to be anything less than: time()+7200 It's reaction is to ignore the cookie. So, to delete a cookie, I now always use: setcookie("name"); Likewise, I can't set a cookie to have an lifetime of less than 2 hours, or it just won't get set. Bill Shupp

« previous php.notes (#40710) next »