Re: setcookie problem

From: Date: Mon, 21 Oct 2002 10:30:15 +0000
Subject: Re: setcookie problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-89789@lists.php.net to get a copy of this message
You should post this to the PHP General mailing list (php-GENERAL@lists.php.net). People there will Definitely answer you. -- Maxim Maletsky maxim@php.net www.PHPBeginner.com // where PHP Begins "Mehran Ziadloo" <mehran20@hotmail.com> 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 Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.dev (#89789) next »