Re: Expression for deleting all cookies
| From: | Marek Kilimajer | Date: | Sat, 05 Feb 2005 00:40:21 +0000 |
| Subject: | Re: Expression for deleting all cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208107@lists.php.net to get a copy of this message | ||
Ross Hulford wrote:
Is there a single bit of code for scrubbing all the cookies or do I have to do setcookie ("name, "") for all of them??foreach($_COOKIE as $name => $value) { setcookie($name, '', time() - 36000); }