Re: setcookie problem

From: Date: Mon, 21 Oct 2002 03:31:41 +0000
Subject: Re: setcookie problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120696@lists.php.net to get a copy of this message
Please do not post the same question to multiple lists. And your setcookie() call is fine. That's how you do it. -Rasmus On Mon, 21 Oct 2002, Mehran Ziadloo wrote: > I've reached a problem which I don't know how to get over it. > Consider you have a PHP page with the following address: > http://www.domain.com/users/signin/set.php > this script's job is to set a cookie and it does. The problem is when I set > them, when some other pages want to use that cookie, only the scripts which > are in the same folder (with the script that set the cookies) can reach > them and for other scripts it's hidden. > How can I set a cookie that all the pages can access it. > I'm setting the cookie with the following script: > setcookie("SessionID", $SessionID, 0, "/"); > and if it helps I'm using IE6 > thanks, > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#120696) next »