PHP 4.0 Bug #6162: setcookie("<cookiename>") doesn't clear the previous set cookie anymore

From: Date: Tue, 15 Aug 2000 11:20:14 +0000
Subject: PHP 4.0 Bug #6162: setcookie("<cookiename>") doesn't clear the previous set cookie anymore
Groups: php.dev 
Request: Send a blank email to php-dev+get-28899@lists.php.net to get a copy of this message
From: akoole@wirehub.net Operating system: FreeBSD 3.5-STABLE PHP version: 4.0.1pl2 PHP Bug Type: Misbehaving function Bug description: setcookie("&lt;cookiename&gt;") doesn't clear the previous set cookie anymore For some reason, and I've not noticed this before, setcookie("<cookiename>","<somevalue>"); works fine, but after that, if you wish to clear the cookie wich was set with: setcookie("<cookiename>"); doesn't work anymore, thus leaving the cookie present until it expires (in this case when the browser is closed) is this a bug or something that is only misbehaving on my system? Cheers, Arjan

« previous php.dev (#28899) next »