Re: session variables

From: Date: Wed, 02 Jun 2004 02:38:57 +0000
Subject: Re: session variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-187419@lists.php.net to get a copy of this message
On 06/01/04 22:12 John Nichel spoke:
Bob Lockie wrote:
$_SESSION['new_name'] = $_REQUEST['new_name']; Is not global. I printed out the value locally but it is not made into a session variable.
Did you start the session before you set $_SESSION['new_name']?
That was my problem. I reorganized and put some code in a file that didn't have a session_start() call. :-( Thanks.

« previous php.general (#187419) next »