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

« phpBB3 || wysiwyg on a webpage? »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home