Re: session variable problem
| From: | markb | Date: | Thu, 31 Mar 2011 19:22:18 +0000 |
| Subject: | Re: session variable problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-312174@lists.php.net to get a copy of this message | ||
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 session.auto_start off register_globals off session.use_only_cookies off I assume this is setting difference but I can't seem to find it.OK. found the issue. ini_set('session.cookie_secure',true); Causes the issue IF I don't use https. Make sense I suppose. -- Mark B