Re: Re: Fwd: Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On

From: Date: Tue, 22 May 2001 20:51:32 +0000
Subject: Re: Re: Fwd: Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On
References: 1 2 3  Groups: php.dev php.doc 
Request: Send a blank email to php-dev+get-56349@lists.php.net to get a copy of this message
> > Aha. This caused some really bad 'bugs' in the new PHP release... > > I didn't know why it was bad... Please revert to the same method > > as $HTTP_*_VARS use... > > Excuse me? I'm quite confused by your message. Do you mean that > $HTTP_SESSION_VARS['foo'] and $foo should not be references to the same > value? $HTTP_GET_VARS['foo'] (get!!) and $foo are references to the same value now... I think... This should be the same for SESSION vars. This is not the case now if I understand the original letter well... I received some bug reports from PHP users complaining, that their session vars are working in global scope, but not in the $HTTP_SESSION_VARS[] array. The PHP code were correct... Goba ........................................................... . . . . . Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror

« previous php.dev (#56349) next »