note 33807 deleted from function.unset by didou

From: Date: Tue, 08 Jul 2003 12:51:07 +0000
Subject: note 33807 deleted from function.unset by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51694@lists.php.net to get a copy of this message
Note Submitter: maxxyme at ifrance dot com ---- I think it could be usefull for those who had problem and don't want to use session_unregister while using $_SESSION. Under PHP 4.1.2, when register_globals is on,i had to do unset($_SESSION['var']); unset($GLOBALS['var']); to delete the $_SESSION['var'] variable It took me quite a lot of time to understand why only using unset($_SESSION['var']) didn't work. I told my admin that putting register_globals on was a bad thing, but he didn't care ... :-( As at home i put if off, i never had such a problem, but at the univ...

« previous php.notes (#51694) next »