$_SESSION
| From: | Donahue Ben | Date: | Wed, 13 Nov 2002 04:33:52 +0000 |
| Subject: | $_SESSION | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124145@lists.php.net to get a copy of this message | ||
I have some code that looks like this:
if(!session_is_registered('errors'))
session_register('errors');
but i want to do this using the $_SESSION, i tried
doing it this way
if(!isset($_SESSION['errors']))
session_register('errors');
but when i echo(isset($_SESSION['errors'])) it prints
false
So i am not sure how to register a variable with
$_SESSION
Ben
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2