Destroying cookies... not working

From: Date: Wed, 27 Apr 2011 23:16:43 +0000
Subject: Destroying cookies... not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-312515@lists.php.net to get a copy of this message
Hello all. I have a logout page that should be destroying cookies when loaded... but it is not. setcookie("mycookie", "False", time() - 3600, "/"); However, I can still pull values stored in the cookie and I can still see the cookie in my browser's "Show Cookies" window. So I tried the following: setcookie('mycookie','',time()-3600); unset($_COOKIE['mycookie']); Still no luck. Any help with this is appreciated. --Rick

« previous php.general (#312515) next »