Re: session variable problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/25/2011 12:13 PM, Ken Robinson wrote:
At 01:09 PM 3/25/2011, markb wrote:
Very rusty with PHP.
We moved our web site to a new hosting service (godaddy). PHP changed
from 4x to 5.2.17.
I can no longer change $_SESSION variables after the first use.
First call to form - start session create variables
Second call - can read variables, change existing ones (but they do
not persist to next call) - cannot create new variable without an error

What's the error you're getting?

Also, do you have a call to session_start() at the beginning of each
script before any output is sent to the browser?

Ken

More info perhaps. Changes I make using the page's form are persevered. Any changes made with php are not saved. Checking the session file confirms this.
I'm missing something obvious here.....


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux