note 26758 added to function.session-id
| From: | sergio at rack1 dot php dot net | Date: | Tue, 12 Nov 2002 00:22:56 +0000 |
| Subject: | note 26758 added to function.session-id | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39356@lists.php.net to get a copy of this message | ||
As far as my simple tests reveal, session_id returns an empty string ('') when called
before the session was started. This behaviour can be used to test for session registration.
--
http://www.php.net/manual/en/function.session-id.php
http://master.php.net/manage/user-notes.php?action=edit+26758
http://master.php.net/manage/user-notes.php?action=delete+26758
http://master.php.net/manage/user-notes.php?action=reject+26758