HTTP_SESSION_VARS Question
| From: | Jason Caldwell | Date: | Mon, 24 Sep 2001 06:44:34 +0000 |
| Subject: | HTTP_SESSION_VARS Question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12668@lists.php.net to get a copy of this message | ||
I'm trying to use HTTP_SESSION_VARS all over my scripts for security
reasons. However, for some reason, when I do the following the var isn't
updated in the session file... anyone know why?
session_start();
session_register("s_myvar");
$HTTP_SESSION_VARS["s_myvar"] = 1;
If I assign the value to just the var it works fine.
$s_myvar = 1;
Thanks.
Jason