note 28332 rejected from function.setcookie by nicos

From: Date: Thu, 09 Jan 2003 15:20:09 +0000
Subject: note 28332 rejected from function.setcookie by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-41916@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?

« previous php.notes (#41916) next »