24 Sep
2004
24 Sep
'04
8 p.m.
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