Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on From: Sascha Schumann (sascha <email protected>)
Date: 04/06/01

> 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.

    <?
    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 <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>