Re: session problems with own session handler in php..
| From: | Yasuo Ohgaki | Date: | Fri, 18 Jan 2002 02:00:13 +0000 |
| Subject: | Re: session problems with own session handler in php.. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77383@lists.php.net to get a copy of this message | ||
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.netHow 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