[PHP-DEV] PHP 4.0 Bug #6162: setcookie("<cookiename>") doesn't clear the previous set cookie anymore From: akoole <email protected>
Date: 08/15/00

From: akoole <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>