Re: Re: session problems with own session handler in php..

From: Date: Fri, 18 Jan 2002 07:25:00 +0000
Subject: Re: Re: session problems with own session handler in php..
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-77399@lists.php.net to get a copy of this message
Robin Ericsson wrote:
On Fri, 2002-01-18 at 03:00, Yasuo Ohgaki wrote:
Robin Ericsson wrote: SNIP
If PS(http_session_vars) or PS(register_globals) is TRUE, data will be saved. So far, I have no idea when/how PS(http_session_vars) became NULL for mm save handler. Now we know there is a case user save handler might have the same problem :(
Well, as for me, with some checking I did yesterday when I did my first post. In the beginning of the script print_r($_SESSION); returns nothing, but after settings some values, print_r returns it an associated array. Never tested on HTTP_SESSION_VARS though, should there be a difference?
It's the same hash.
I might have to time to do some more checking/debug later tonight.
Although, I cannot reproduce with simpile script, unset($HTTP_SESSION_VARS) also unset $_SESSION. There might be some reference count problem for PS(https_session_vars). I hope you can find clue :) -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com

« previous php.dev (#77399) next »