Re: Sessions, session_register()

From: Date: Tue, 17 Dec 2002 09:13:40 +0000
Subject: Re: Sessions, session_register()
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-92560@lists.php.net to get a copy of this message
----- Original Message ----- From: "Sascha Schumann" <sascha@schumann.cx> To: "Andrey Hristov" <andrey@webgate.bg> Cc: <php-dev@lists.php.net> Sent: Tuesday, December 17, 2002 11:02 AM Subject: Re: [PHP-DEV] Sessions, session_register() > > Isn't that an error that 4.2.3 throws when session_register() is used as > > well as > > registering directly in $_SESSION? > > I haven't worked with 4.2.3 in a long time, but at least I > don't remember any bug reports about it. Sorry, it's in 4.3.0 . I thought about this : php_error(E_WARNING, "Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn."); Andrey

« previous php.dev (#92560) next »