note 10355 added to setcookie

From: Date: Fri, 29 Dec 2000 16:38:02 +0000
Subject: note 10355 added to setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-9184@lists.php.net to get a copy of this message
if you are having problems sharing a cookie between sub-directories, simply set the path attribute to "/". this will give that cookie reign over the whole web tree. this will allow you to set a value in one directory, and then read it in another. http://www.php.net/manual/function.setcookie.php

« previous php.notes (#9184) next »