[imp] Imp 3.1 - session related nasty bug and apache segfault

Chuck Hagenbuch chuck@horde.org
Fri Nov 8 19:18:58 2002


Quoting Viljo Viitanen <vviitane+mail.imp@mappi.helsinki.fi>:

>         /* Disable the old session. */
>         $imp = false;
>         session_unregister('imp');
> 
> Old login information is destroyed, but other information isn't, like
> identities from prefs_cache.
> 
> The fix is to use session_destroy(), and not just
> session_unregister('imp').

No, because if IMP isn't doing Horde auth, that could kill an otherwise
valid Horde login.

Would a call to $prefs->cleanup() to the trick there?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"People ask me all the time what it will be like living without otters."
 - Google, thanks to Harpers


More information about the imp mailing list