Marek Kilimajer wrote:
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()
Actually, you should set it to '.server.org.uk' which will make the
cookie valid for all *.server.org.uk hosts.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php