Re: Some SESSION Vars not Registering
| From: | Jeff Stillwall | Date: | Wed, 23 Jul 2003 03:45:35 +0000 |
| Subject: | Re: Some SESSION Vars not Registering | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156383@lists.php.net to get a copy of this message | ||
"Tom Rogers" wrote:
> Try passing a reference to the array like this
>
> function setupUserEnv (&$userArray) {
[snip]
> }
>
> Otherwise no idea at this point :)
I could give that a shot, but as I mentioned, if I var_dump($userArray) at
the beginning of the function, I see that $userArray is populated correctly.
Also, a var_dump($_SESSION) at the end of the function shows all of the
session variables that I expect. It's when I leave this function that
certain $_SESSION vars disappear.
Yup - weird. Thanks.
--
Jeff Stillwall