Re: session variables
| From: | John W. Holmes | Date: | Wed, 02 Jun 2004 02:15:09 +0000 |
| Subject: | Re: session variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187418@lists.php.net to get a copy of this message | ||
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.Yes, it is. Providing you have sessions configured correctly and use session_start(). -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com