note 22298 added to function.session-is-registered
| From: | miguel dot simoes at swirve dot com | Date: | Thu, 13 Jun 2002 08:27:04 +0000 |
| Subject: | note 22298 added to function.session-is-registered | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31789@lists.php.net to get a copy of this message | ||
When using PHP 4.2.0 even on the same page where you registered the variable with:
session_register("someVar");
if you try to see if the variable is set and do not assign it a value before, the function used in
the previous comment will give the same output.
This may show that the variable is declared and will not be set until some value is give assign to
it.
I think that this way will give the option to register all the variables used for sure on the
process on the first page and using them as the time comes.
--
http://www.php.net/manual/en/function.session-is-registered.php
http://master.php.net/manage/user-notes.php?action=edit+22298
http://master.php.net/manage/user-notes.php?action=delete+22298
http://master.php.net/manage/user-notes.php?action=reject+22298