* Thus wrote Jeff Stillwall ([EMAIL PROTECTED]):
> "Curt Zirzow" wrote:
> 
> > I've set up something what you describe, it works for me:
> > 
> > http://zirzow.dyndns.org/php/session.php
> 
> OK, here's more fuel for the fire.  When passed to this function, $userArray
> is 31 elements long.  The initial function I was using (and posted) was only
> grabbing 6 of those.  I changed my function to grab all of them:
> 
> function setupUserEnv ($userArray) {
>         $_SESSION['loggedIn'] = 1;
>         foreach($userArray as $key=>$value) {
>                 echo "Assigning $key = $value<br>";
>                 $_SESSION[$key] = $value;
>         }
> }
> 

I modified this to do 31 variables:
http://zirzow.dyndns.org/php/session.php

> Thanks to the echo statements, I see all 31 getting assigned.  However, when
> I exit this function, and var_dump($_SESSION), only 6 are assigned!

The only thing i can think, mabey, is size limit?  how long are these
values your assigning?


Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to