RE: [PHP-WIN] Cookies

From: Date: Fri, 01 Feb 2002 21:32:15 +0000
Subject: RE: [PHP-WIN] Cookies
Groups: php.windows 
Request: Send a blank email to php-windows+get-11788@lists.php.net to get a copy of this message
sorry to be a pest.... but, not necessarily....for example: two different "sites" hosted on the same server in the same domain http://www.mydomain.com/dir1/login.php http://www.mydomain.com/dir2/login.php do not necessarily share the same cookies.....if the domain(url) is set to "www.mydomain.com" the cookies will be shared, but the domain(url) can also be set to "www.mydomain.com/dir1/" in the first site, and "www.mydomain.com/dir2/" in the second. In the latter case, the cookie set from /dir1, would not be visible to /dir2.

« previous php.windows (#11788) next »