note 28332 added to function.setcookie

From: Date: Thu, 09 Jan 2003 15:10:30 +0000
Subject: note 28332 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-41912@lists.php.net to get a copy of this message
I'm having the same problem using cookies. While using: SetCookie('login', $username, time()+1600, '/'); The cookie should be stored on disk and have access from root, so all sub-directories should be able to read it. However, I can't find it on my disk and any cookie-checks ( i.e. if(isset($_COOKIE['login'])) ) will just pass as 'false'. Filling all possible attributes doesn't resolve the problem. Not even files in the same dir can read the cookie, and so I'm assuming it has not been placed at all. What's wrong? -- http://www.php.net/manual/en/function.setcookie.php http://master.php.net/manage/user-notes.php?action=edit+28332 http://master.php.net/manage/user-notes.php?action=delete+28332 http://master.php.net/manage/user-notes.php?action=reject+28332

« previous php.notes (#41912) next »