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

Quoting Sascha Schumann <sascha <email protected>>:

> >- but that does make it really
> > messy to write code that works with either setting.
>
> Yes. Feel free to propose a solution which solves your
> problem and which is compatible to existing scripts.

What about adding session_set_var (and session_get_var, for symmetry) functions
to set and access session variables regardless of scope?

-chuck

--
Charles Hagenbuch, <chuck <email protected>>
Number of U.S. nuclear bombs lost in accidents and never recovered: 11

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