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.




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to