Re: SESSION variable and register_globals

From: Date: Mon, 10 Feb 2003 11:05:14 +0000
Subject: Re: SESSION variable and register_globals
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-135033@lists.php.net to get a copy of this message
1. Yes. 2. No. Mohanaraj wrote:
Hello guys, I have a few questions regarding the subject and was hoping you could help me out. 1.If register_globals is on, then doing an unset($_SESSION["blah"]), to unset a session variable will not work as the variable will be unset in that particular instance but will be restored in next instance of that session. Hence session_unregister("blah") also must be used to properly unset the session with global_register on. Is this true ? 2.Furthermore, can the session be registered via the direct assignment of $_SESSION["aaa"] = $someValue if register globals is on? Thank you for your time. Mohan
-- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.

« previous php.general (#135033) next »