Re: REVIEW: Imminent session patch

From: Date: Wed, 02 Oct 2002 18:34:35 +0000
Subject: Re: REVIEW: Imminent session patch
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-88877@lists.php.net to get a copy of this message
> (snip).. There is however another problem, which I > believe should be addressed. The problem being that session_register() > function does not work unless the user has register_globals enabled. > This particular problem causes problems for anyone using php software that was > written before this limitation was added. In fact the sessions tests inside > ext/session/tests fail for that very reason. correct me if i am wrong, but with $_SESSION you dont even need to have session_register() anymore, as for the behaviour of session_register(), if it held up to the latest php version, i dont see any sense of changing its functionality now, it's a less logical step than to encourage people to use $_SESSION. personally i think session_register() should have been removed after the creation of $_SESSION, but i see the logics in backwards compatibility, but for the future of php (php5.0.0) maybe some functions like this one should acctually be removed in favour of $_SESSION addressing. regards, black

« previous php.dev (#88877) next »