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/

Reply via email to