Re: this code unsets $_SESSION['editor'] but doesn't touch any other session variables

From: Date: Sun, 07 Sep 2003 18:35:10 +0000
Subject: Re: this code unsets $_SESSION['editor'] but doesn't touch any other session variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-161920@lists.php.net to get a copy of this message
You more than likely have register globals ON, so by setting $editor to some value above, you are also changing the value of $_SESSION['editor'].
Yes! Settings at ISP was with globals on, but at my local server they were off. Which added quite a lot to my confusion. Thanks! -- anders thoresson

« previous php.general (#161920) next »