trying to destroy a cookie
Date: 07/03/06
(PHP Community) Keywords: php, java
From PHP.net
setcookie("dest", "", time() - 3600);
dest is my cookie...
But when I go to the next page and check my cookies ($_COOKIE), it's still there.
Can you guys see anything wrong with that code? Suggestions?
[update] strange setcookie ("dest", "somethingelse");
will change the value. But I need to destroy it, because the Javascript wont reassign a value.
Source: http://community.livejournal.com/php/466185.html