Re: PHP 4.0 Bug #4573: Problem when saving session data(session handler = mm)
| From: | Valdas Andrulis | Date: | Wed, 24 May 2000 13:02:25 +0000 |
| Subject: | Re: PHP 4.0 Bug #4573: Problem when saving session data(session handler = mm) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19384@lists.php.net to get a copy of this message | ||
On Wed, 24 May 2000, Sascha Schumann wrote:
> On Wed, 24 May 2000, Valdas Andrulis wrote:
>
> >
> > On Wed, 24 May 2000, Sascha Schumann wrote:
> >
> > > Did you configure PHP with mm support (--with-mm) ?
> >
> > Of course. Everything works ok as soon as i register at least one
> > variable, and produces the same "Warning: ..." as soon as i unregister
> > all the variables. But I am using script which handles user login so it
> > registers user_id variable only when correct password is submited,
> > and that "Warning: ..." is clobbering my login screen.
>
> session.save_path needs to be a path to a file for mm. Like
> /tmp/session.sem
>
> - Sascha
Don't get me wrong, but i didn't bother you if the problem would be so
trivial. And as i can see in mod_mm.c session.save_path is hardcoded to
#define PS_MM_PATH "/tmp/session_mm"
So you can set session.save_path to whatever you want. The problem is
not here. I have recompiled both 4.0.0 and 4.0RC1 versions(everything
the same, differs just php sources) and can say that 4.0RC1 works, 4.0.0
not. I have made diffs of session module files, but didn't see any
potential spots causing it. But you know inner parts and whats changed
perfectly compared to me. Maybe serialization changed...
Valdas
>
>