If globals is on, you'll have to unset the $_SESSION[varname] as well as the $varname.
Like:
unset($_SESSION[varname]);
unset($varname);
![]() |
|
||||||||||
|
session_unregisterDescriptionbool session_unregister ( string name )
session_unregister() unregisters
the global variable named This function returns TRUE when the variable is successfully unregistered from the session.
session_unregister
dylan82 AT xs4all DOT nl
09-Dec-2004 01:13
If globals is on, you'll have to unset the $_SESSION[varname] as well as the $varname.
jsmith at uncommoner dot com
26-Nov-2004 10:55
as a side note you must have session_start() set inorder to actually unregister the session varibles.
|