Re: Session has new id on 'some' pages.

From: Date: Mon, 18 Jul 2005 15:25:22 +0000
Subject: Re: Session has new id on 'some' pages.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-218870@lists.php.net to get a copy of this message
Andy Pieters wrote:
Ok found the solution, seems like one page is on http://server.org.uk and the other on www.server.org.uk even though its the same server it generates a different session id!
set the domain of the cookie to 'server.org.uk', it's the fifth parameter of setcookie()

« previous php.general (#218870) next »