RE: [PHP] Re: sessions vs domain problem

From: Date: Fri, 22 Dec 2006 15:28:58 +0000
Subject: RE: [PHP] Re: sessions vs domain problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246152@lists.php.net to get a copy of this message
Something like: <?php session_set_cookie_params(0, '/', 'ksachiropoelkapelle.be'); session_start(); ... I inserted this code at the top: session_set_cookie_params(0, '/', '.ksachiropoelkapelle.be'); It did not solve the problem, still after logging in on www.ksachiropoelkapelle.be the session is not recognized. I know the line of code works cause when I surf directly to http://www.groep6049.ksjnet.be/ it does not work anymore (appearently the cookie domain is not recognized anymore). Any other ideas?

« previous php.general (#246152) next »