Re: Request for new feature: $HTTP_SESSION_VARS when register_globals = on
| From: | Alexander Feldman | Date: | Fri, 06 Apr 2001 20:46:13 +0000 |
| Subject: | Re: Request for new feature: $HTTP_SESSION_VARS when register_globals = on | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-51070@lists.php.net to get a copy of this message | ||
On Fri, 6 Apr 2001, Sascha Schumann wrote:
> > It is simpler.
>
> Chuck is talking about another problem which I agree has not
> been addressed yet properly.
>
> > We should just leave the array $HTTP_SESSION_VARS in the
> > case when register_globals is on. Currently when the variables are registered
> > they *are* removed from the $HTTP_SESSION_VARS array. I do not think this is
> > the intended behaviour.
>
> That is not the behaviour I see. The following script
> displays the correctly setup $HTTP_SESSION_VARS array when
> run multiple times with the current CVS.
Hm, very strange. You are absolutely right - I do not see any problems as
well. Not only with the current cvs but with the older phps also... But I
am sure I have seen some time ago exactly what was described by Carsten
Gehling. Maybe it is kind of group hallucination ;)
-- alex
>
> <?
> session_id("test");
> session_register("c");
> $c++;
> var_dump($HTTP_SESSION_VARS);
>
> - Sascha Experience IRCG
> http://schumann.cx/
> http://schumann.cx/ircg
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>