Re: Some SESSION Vars not Registering
| From: | Curt Zirzow | Date: | Wed, 23 Jul 2003 03:59:50 +0000 |
| Subject: | Re: Some SESSION Vars not Registering | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156385@lists.php.net to get a copy of this message | ||
* Thus wrote Jeff Stillwall (jstill@audioengine.net):
> "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.
hmm.. phpversion?
Curt
--
"I used to think I was indecisive, but now I'm not so sure."