Re: PHP Session not working

From: Date: Fri, 03 Oct 2003 16:36:12 +0000
Subject: Re: PHP Session not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164933@lists.php.net to get a copy of this message
Maybe enable track_vars in php.ini ? "Jay Blanchard" <jay.blanchard@niicommunications.com> wrote in message news:C8F323573C030A448F3E5A2B6FE2070B01AFA8C5@nemesis... [snip] We are facing some problems in using sessions in our applications. Recently we have moved our web site to a new Apache server (1.3). We have installed PHP on this server. But sessions are not working on this server. The values in the session variables are not carried forward to the consequent pages. PHP Module entry in httpd.conf file: LoadModule php4_module modules/mod_php4-4.3.2.so The same scripts & web site are working fine on a similar Apache server and same version of PHP. [/snip] *sigh* Check register_globals in your php.ini. It is probably off (by default). Please change it to 'on' and restart your web server. Then make sure all of your code is tightly written so as to prevent possible harm.

« previous php.general (#164933) next »