Re: session woes

From: Date: Wed, 12 Dec 2001 01:41:10 +0000
Subject: Re: session woes
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-77388@lists.php.net to get a copy of this message
No, it still doesn't work. I believe it's a documented issue with that release. it was fixed in 4.0.4dev. -- Gaylen gfraley5@earthlink.net Home http://www.gaylenandmargie.com PHP KISGB v2.6 Guest Book http://www.gaylenandmargie.com/phpwebsite "Yasuo Ohgaki" <yasuo_ohgaki@yahoo.com> wrote in message news:3C1402A7.4080403@yahoo.com... > Gaylen Fraley wrote: > > > I have a friend who is using an ISP that uses php4.0.3pl1 . It appears that > > session_register is not working between pages. In script A, the session var > > gets registered and shows registered using session_is_registered('testvar'); > > However, when script B is called, a session-start is issued and testvar is > > not registered. Running the identical code, but not with his ISP, under > > 4.06, it works perfectly. Are there known issues? > > > > If you can trun off register_globals, set it to OFF. > register_glogals=Off is recommended setting BTW. > > Use $HTTP_SESSION_VARS. Do not use session_register(), just set value to > $HTTP_SESSON_VARS. Do not use session_unregister(), just unset() > $HTTP_SESSION_VARS. > > -- > Yasuo Ohgaki >

« previous php.general (#77388) next »