Re: [Q] session variables wouldn't keep contents.

From: Date: Wed, 14 Mar 2001 09:40:41 +0000
Subject: Re: [Q] session variables wouldn't keep contents.
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-43802@lists.php.net to get a copy of this message
SNIP > > > > I found something! > > If I set register_globals to Off in php.ini, then session *seems* to work > YO> well. > > In /tmp, session data file contains both of variable name and value and I > YO> can > > use $HTTP_SESSION_VARS["variable"]. > > BUT, as before is there no HTTP_SESSION_VARS in PHP variables section of > YO> phpinfo. > > > > I'm so confused and think things are getting weirder. ;( > > > > YO> I set "register_globals = Off" for many reasons. > YO> Session may not work with "register_globals = On"?? > YO> It may be a bug. How about post it as a bug, if you don't like it and there is > YO> no such a bug report. > > Then, is it not odd that there's no HTTP_SESSION_VARS in PHP Variables > section of phpinfo? > I think you might found a new bug in phpinfo(). I don't see HTTP_SESSION_VARS in PHP Variables section neither!! I didn't notice it. Question is 'Do developers consider this as a bug or the way it should be'. How about post a mail to php-dev list? Regards, -- Yasuo Ohgaki

« previous php.general (#43802) next »