note 12021 added to function.setcookie.php

From: Date: Mon, 19 Mar 2001 05:05:33 +0000
Subject: note 12021 added to function.setcookie.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12535@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 http://www.php.net/manual/en/function.setcookie.php

« previous php.notes (#12535) next »