unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both don't do anything.

From: Date: Wed, 28 Jul 2004 18:49:38 +0000
Subject: unset($_COOKIE['foo']) and $_COOKIE['foo'] = '' both don't do anything.
Groups: php.general 
Request: Send a blank email to php-general+get-192113@lists.php.net to get a copy of this message
Linux. PHP5. Maybe I'm doing something wrong, but I've tried both: unset($_COOKIE['foo']); And also $_COOKIE['foo'] = ''; And neither of them seem to do anything. I can still see the cookie and worse, the value if I do foreach ($_COOKIE as $key => $val) echo "$key = $val";

« previous php.general (#192113) next »