[horde] login/logout bug?

Michael M Slusarz slusarz at horde.org
Thu Mar 9 10:10:11 PST 2006

Quoting Gabriel Sere <gsere at tecnet.com.uy>:

> Well, the solution for the problem I reported
> yesterday isn't what I said regarding to
> delete the cookie for the session name. So I'm
> back with the same problem and I'll try to tell
> how I solve it.


> This is because the session_destroy at line
> 185 on ../imp/login.php doesn't take effect
> until the scripts ends and the session is
> restored before that.
> To problem is solved calling session_write_close()
> after session_destroy:
> login.php @line 190:
> -----------------------------------------
>         if ($imp_auth) {
>              Auth::clearAuth();
>              @session_destroy();
>              session_write_close(); // this really destroy the session.
>              Horde::setupSessionHandler();
>              @session_start();
>         }

I have no idea what version of IMP you are using, but it isn't either  
HEAD or 4.1.  If this truly was a problem in the past, it was fixed  
long ago.


Michael Slusarz [slusarz at horde.org]

More information about the horde mailing list