Five wrote:
Is it possible to assign a value to a session variable on say, page1.php:

$_SESSION['favcolor'] = 'blue';

and then on another page, say page2.php reassign the value:

$_SESSION['favcolor'] = 'green'; ?

So far experimentation says no.

PHP says Yes. Crystal ball says to put session_start() on page2.php

--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to