Re: HTTP_Session-0.1 (beta): use of session_unregister()

From: Date: Fri, 14 Feb 2003 12:50:56 +0000
Subject: Re: HTTP_Session-0.1 (beta): use of session_unregister()
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13277@lists.php.net to get a copy of this message
Alexander, great class, I think PEAR has been needing this for some time ;-) In my experience using session_register() with the $_SESSION super-global array can be unreliable, the latest PHP manual seems to confirm this. <snip> If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered() and session_unregister(). </snip> Perhaps using unset($sessVarName) in your unregister() method is preferable? cheers, Demian http://www.phpkitchen.com

« previous php.pear.dev (#13277) next »