note 12043 deleted from function.session-is-registered by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 03:45:42 +0000 |
| Subject: | note 12043 deleted from function.session-is-registered by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48390@lists.php.net to get a copy of this message | ||
Note Submitter: php-general@lists.php.net
----
session_register() does not set the variable. If you register a variable and do not assign it a
value, on your next page:
session_start();
if (isset($var))
{echo "It is set.";}
else
{echo "It is not set.";}
will display: It is not set.