note 62776 deleted from ref.session by didou
| From: | didou@php.net | Date: | Sun, 23 Apr 2006 22:55:26 +0000 |
| Subject: | note 62776 deleted from ref.session by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109240@lists.php.net to get a copy of this message | ||
Note Submitter: kaltoft at gmail dot com
----
I had a problem with my session-data suddenly disappeared after a Location: .. redirect. I used a
lot of time to figure out why the session disappeared, but finally found out that if I disabled
"Register Globals", the session would not disappear.
"Register Globals" can be disabled by putting the following in an .htaccess file:
use php_flag register_globals 0