note 45100 deleted from function.session-id by betz
| From: | betz@php.net | Date: | Fri, 08 Jul 2005 17:15:29 +0000 |
| Subject: | note 45100 deleted from function.session-id by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91686@lists.php.net to get a copy of this message | ||
Note Submitter: Sergey Bres aka tserbis
----
To Cybertinus:
session_id() isn't emtied after session_write_close(), so your code
if ( ! session_id() ) {
session_start();
}
is good, but not so universal.
---------
Sergey Bres, Ukraine, tserbis@yandex.ru