note 8192 added to session_start
| From: | Matthieu_Delahaye at hotmail dot com | Date: | Wed, 30 Aug 2000 16:55:18 +0000 |
| Subject: | note 8192 added to session_start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3677@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.
http://www.php.net/manual/fr/function.session-start.php