Setcookie problems...

From: Date: Wed, 24 Apr 2002 19:27:54 +0000
Subject: Setcookie problems...
Groups: php.general 
Request: Send a blank email to php-general+get-94440@lists.php.net to get a copy of this message
Please help... When we are setting a cookie in a PHP page, that cookie cannot be accessed by any page in a different folder. When we move the pages into the same folder, the cookies worked fine. Can anyone shed some light on this?? Here is how we are setting the cookie: setcookie("cookiename", $value, time()+3600); Also, you are supposed to be able to leave the time out and the cookie will expire on session close, but when we leave the time out, no cookie is set. Any help here either? Chris

« previous php.general (#94440) next »