Solved! -- Buuuuttt.
| From: | Jason Caldwell | Date: | Mon, 24 Sep 2001 07:45:49 +0000 |
| Subject: | Solved! -- Buuuuttt. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12669@lists.php.net to get a copy of this message | ||
In the PHP.INI file I had to set REGISTER_GLOBALS = off
The Vars are registering -- but not with an INCLUDE file or FUNCTION....
plus, my INPUT tag data (vars) aren't coming over...
What the #%#^ is go'in?
Very frustrating.... any help would be greatly appreciated.
Thanks
Jason
"Jason Caldwell" <jason@thinkingman.org> wrote in message
news:20010924064439.85279.qmail@pb1.pair.com...
> 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
>
>