note 11048 deleted from features.cookies by jimw
| From: | jimw@php.net | Date: | Thu, 20 Dec 2001 21:19:23 +0000 |
| Subject: | note 11048 deleted from features.cookies by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-23423@lists.php.net to get a copy of this message | ||
to set cookies from a subdirectory and access it from a page in the parent directory use the
path-parameter:
setcookie("name", "value", "", "path")
to make a session cookie that will expire when the browser is closed leave the third param an empty
string.