note 73611 deleted from function.setcookie by danbrown
| From: | danbrown@php.net | Date: | Sun, 17 May 2009 17:52:49 +0000 |
| Subject: | note 73611 deleted from function.setcookie by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155035@lists.php.net to get a copy of this message | ||
Note Submitter: suit at rebell dot at
----
// to create a session cookie use zero (0) instead of time
setcookie("name", "value", 0);
// to destroy the session-cookie use
setcookie("name", "", -1);