RE: [PHP-INST] 4.2.3 session login problem...

From: Date: Tue, 17 Jun 2003 15:22:51 +0000
Subject: RE: [PHP-INST] 4.2.3 session login problem...
Groups: php.install 
Request: Send a blank email to php-install+get-11104@lists.php.net to get a copy of this message
Thanks. This did indeed turn out to be the problem. I have it working now, although someday I will need to correct everything such that I can keep Register Globals off. -----Original Message----- From: Stephen [mailto:stephen.edmonds5@btinternet.com] Sent: Tuesday, June 17, 2003 10:20 AM To: NIPP, SCOTT V (SBCSI) Cc: Installation Helplist (PHP) Subject: Re: [PHP-INST] 4.2.3 session login problem... Chances are your problem lies with Register Globals. In php 4.1.x this defaulted to on, which meant that all session variables were access as $mysessionthingy However, in php 4.2.x and higher, the way sessions work has changed dramatically. However, the old methods (using session_start and so on) are still supported IF you set register_globals to ON in your php.ini file. For more infomation, please go to the php site and look up sessions. I personally believe the new method is a lot better than the older methods, and suggest you consider updating! Hope this helps, Stephen ----- Original Message ----- From: "NIPP, SCOTT V (SBCSI)" <sn4265@sbc.com> To: <php-install@lists.php.net>; <php-db@lists.php.net> Sent: Tuesday, June 17, 2003 4:13 PM Subject: [PHP-INST] 4.2.3 session login problem... > I have an application that is currently working fine under 4.1.2, > and I am in the process of upgrading to 4.2.3. The problem is that after > upgrading PHP the application login no longer works. Additionally, this > same application works fine on another machine running 4.2.3. The only > difference in the machines is that the working one uses PHP as a static > module and the broken one uses PHP as a loadable module. Anyone run into > this problem before? Thanks in advance. > > Scott Nipp > Phone: (214) 858-1289 > E-mail: sn4265@sbc.com > Web: http:\\ldsa.sbcld.sbc.com > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.install (#11104) next »