Re: session_unregister
| From: | Thomas Deliduka | Date: | Thu, 04 Sep 2003 20:42:09 +0000 |
| Subject: | Re: session_unregister | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969356197@lists.php.net to get a copy of this message | ||
(always read before sending right?) I guess what I'm suggesting here is
y'all update the documentation not so much reply to me. But you can do that
too. :-D Thanks again.
On 9/4/03 4:40 PM this was written:
> Just a quick note to y'all good people who make such excellent
> documentation.
>
> I would truly appreciate more explicit information on this function in the
> docs:
>
> http://www.php.net/manual/en/function.session-unregister.php
>
> I'm confused regarding the use of $_SESSION and unsetting. A user comment
> mentions they couldn't use unset() but rather $_SESSION["var"] = NULL. To
> remove the variable from the session.
>
> Another comment says that if register_globals is on you MUST use
> session_unregister() rather than $_SESSION. What if I have register_globals
> on but want to use $_SESSION do I have to call the function AND set the
> super global to NULL?
>
> Deleting the user comments that are not valid would be fine, including mine
> if you see it up there (should replicate to the servers in a few hours), I
> put a request for some example(s) on how to unregister a session var.
>
> Thanks y'all! your documentation is top-knotch.
--
Thomas Deliduka
IT Manager
-------------------------
Xenocast
Street Smart Media Solutions
http://www.xenocast.com/