Re: Followup to session question / scope of session

From: Date: Fri, 19 Jul 2002 18:46:40 +0000
Subject: Re: Followup to session question / scope of session
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-108556@lists.php.net to get a copy of this message
On Friday, July 19, 2002, at 02:05 PM, Chad Day wrote:
It's still there, yes, but when I go to my.mydomain.com from www.mydomain.com, the session_start() at the top of the script starts a new session rather than picking up on the old www.mydomain.com session. I don't know how to tell it to look at the old session and continue that one.
Try naming your session and using session_name() to force the session_start() call to look first for an original session. Read up on session_start() for more info. Erik

« previous php.general (#108556) next »