* Thus wrote Rich Gray ([EMAIL PROTECTED]):
> Chris
> 
> Thanks for your answer which I'm sorry to say makes no sense to me given the
> code example I supplied ... can you explain to me why you think register
> globals being set to on for the Linux server will cause the $_SESSION
> superglobal array to lose data? Am I missing something obvious here?

This makes perfect sense (see below for what makes sense since you
top posted.)  This is all explained if you read the session
documentation.

  http://php.net/session

<snip for the lazy>
If register_globals is enabled, then the global variables and the
$_SESSION entries will automatically reference the same values
which were registered in the prior session instance.
</snip>

> 
> > --- Rich Gray <[EMAIL PROTECTED]> wrote:
> > > I'm running v4.2.3 on RedHat v7.0 and am getting some strange
> > > behaviour with the $_SESSION superglobal...
> > ...
> > > It works fine on Win2K albeit v4.3.0 of PHP.
> >
> > Maybe you have register_globals enabled on your Linux server and
> > not on your
> > Windows PC? Compare php.ini files before giving it too much thought.
> >

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