RE: [PHP] Session confusion again :( - Thanks!
| From: | Dennis Gearon | Date: | Wed, 14 Apr 2004 19:02:24 +0000 |
| Subject: | RE: [PHP] Session confusion again :( - Thanks! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-183364@lists.php.net to get a copy of this message | ||
"'Chris W. Parker'" <cparker@swatgear.com> elucidated:
Thanks guys but I have register globals ON so once the session variable is defined I should be able to address it without specifying $_SESSION ?WHERE do you have it on? Most sites now have it turned off for VERY valid security reasons. If you are turning it on in your prepend file - Sorry, too late. The only two places to turn it back on, to my knowledge, is in your ini file for the site, or your .htaccess file as a directive. Only those two places are before the GPC processing.