Re: Session understanding
| From: | James E Hicks III | Date: | Thu, 02 Sep 2004 17:58:23 +0000 |
| Subject: | Re: Session understanding | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-195631@lists.php.net to get a copy of this message | ||
On Thursday 02 September 2004 10:09 am, Michael Gale wrote:
> So if I try and store a variable that would be unique to each window it
> would get over written. Is this a configuration problem ?
>
It sounds to me like you need to turn off session.auto_start in your php.ini
file and call session_start() on each page so that you can set a unique
session name for each browser using session_name() function.
Or use PHP 4.3.8 which for some unknown reason creates a new session for your
site anytime a new browser window has been opened. I'm just kidding here, I
think that that is a bug. Which does not seem to exist anymore in 4.3.9 (Woo
Hoo!)
James Hicks