[Zope] Zope Session Timeout

Dieter Maurer dieter at handshake.de
Fri Sep 24 16:00:39 EDT 2004


Asad Habib wrote at 2004-9-24 10:00 -0400:
>Does anyone know how to check if a Zope Session has timed out?

When the session times out, it is deleted.
Thus, you can try to find out whether the user still has a session
object or not.

Check the "SessionDataContainer" API for such a check.
You will also need the "BrowserIdManager" API to find out
the session id for the current user.


Advice: Andreas told you about a different solution (which you did not
like). I tell you now that this is probably the most easy and
most reliable solution that you will find.
Maybe, you reconsider your position?



-- 
Dieter


More information about the Zope mailing list