Robin Ericsson wrote:
> This seems very similar to bug #14880.
> 
> I use a session handler written in php, which I set with
> session_set_save_handler().
> 
> The problem is that my write function never gets called, and data never
> written.
> 
> Variables are not stored when entered into $_SESSION, and I narroved it down
> to one setting.
> 
> register_globals
> 
> with this on, it works, with this off, it doesn't work..
> 
> Yohgaki, I've seen you involved in this, any news of it?
> 
> Oh, btw, I'm using snapshop 20020117120000 from snaps.php.net
> 

How did this happen?

I only observed the problem with mm session save handler.
"write" is never called with my build because
PS(http_session_vars) is NULL.

I think you are experiencing similar problem.
If you enable register_globals, it would work
since PS(register_globals) is TRUE.

   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 :(
-- 
Yasuo Ohgaki


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to