On 3/25/2011 12:09 PM, 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
Using $_SESSION['varname'] always
I assume this is setting difference but I can't seem to find it.
Also had another issue in converting to PHP 5. I had been passing
$_SESSION variable to functions. For some reason this was wiping out
the values after each call.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php