note 53744 deleted from function.setcookie by bjori

From: Date: Mon, 08 Jan 2007 10:46:27 +0000
Subject: note 53744 deleted from function.setcookie by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-121425@lists.php.net to get a copy of this message
Note Submitter: nahtan at email dot com ---- I tried for an hour to figure out how to have a session cookie (one that deletes when the browser is closed) with a path. If you specify 0 as the expire parameter, the cookie will be a session cookie. eg: setcookie("test", "value", 0, "/somepath/");

« previous php.notes (#121425) next »