On Fri, 2002-01-18 at 03:00, Yasuo Ohgaki wrote:
> 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.

Yes, it works with register_globals.

>    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?

I might have to time to do some more checking/debug later tonight.



-- Robin


-- 
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