Re: change value of session variable?

From: Date: Wed, 21 Jul 2004 21:35:39 +0000
Subject: Re: change value of session variable?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-191412@lists.php.net to get a copy of this message
My understanding of session variables Five is that you can write and re-write on the fly. I know from using VB that this is true and I am assuming that it is true of PHP. However, you may need to "Empty" the variable first Five. Hope that helped. -- ----------------------------- Michael Mason Arras People www.arraspeople.co.uk ----------------------------- "Five" <primeooze@hotmail.com> wrote in message news:20040721211059.86656.qmail@pb1.pair.com... > 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.

« previous php.general (#191412) next »