RE: PHPSESSID Question
| From: | Tim Ward | Date: | Mon, 08 Jan 2001 10:01:06 +0000 |
| Subject: | RE: PHPSESSID Question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-33206@lists.php.net to get a copy of this message | ||
my understanding is that a session is a browser session. In this case what
you get is what you would expect. Maybe you need your own database
sub-session system.
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer in respect of this message:
http://www.stivesdirect.com/e-mail-disclaimer.html
> -----Original Message-----
> From: Shane McBride [mailto:php@riversidedesigns.net]
> Sent: 07 January 2001 00:39
> To: php-general@lists.php.net
> Subject: PHPSESSID Question
>
>
> I have been trying to learn about sessions lately.
>
> I have been successful in start and destroying a session, but
> when I start a session right after destroying a session, I
> get the same PHPSESSID. I can actually watch the tmp file get
> deleted and then recreated only to get the same PHPSESSID.
>
> I tried from two different machines and went like this:
>
> Machine 1 = started session
> Machine 2 = started session
> Machine 1 = destroyed session
> Machine 2 = destroyed session
>
> Then I did the same process starting with Machine 2. I got
> the same PHPSESSID as I did for Machine 2 the first time.
>
> The only way to get a new PHPSESSID was to close the browser out.
>
> This quite frankly sucks. I would think a new PHPSESSID would
> be assigned after each and every destroy.
>
> Any thoughts?
>
> TIA,
> Shane
>