note 8192 deleted from function.session-start by jimw

From: Date: Fri, 07 Dec 2001 20:23:42 +0000
Subject: note 8192 deleted from function.session-start by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-21887@lists.php.net to get a copy of this message
According to my tests, it seems that if you use two times session_start() like this: session_start() ... session_destroy() ... session_start() ... and that there is no session id passing by GET (which means PHP create session), the SID constant is not set to the second opened session but to the first, which could cause some troubles since the session pointed by SID has just been destroyed.

« previous php.notes (#21887) next »