[Zope] Zope Session Timeout

Andreas Jung lists at andreas-jung.com
Fri Sep 24 10:10:31 EDT 2004


write some key-value pair in the session when it starts. check for the key 
in the session when you
want to test if it has expired.

-aj

--On Freitag, 24. September 2004 10:00 Uhr -0400 Asad Habib 
<ahabib at engin.umich.edu> wrote:

> Does anyone know how to check if a Zope Session has timed out? I know that
> this value is set in the Session Data Container object that resides in the
> Temp folder at the root level. But how can I check to see if this time
> limit has been exceeded? I would like to redirect the user to a customized
> error page when this happens. Any help would be greatly appreciated.
> Thanks.
>
> - Asad
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )






More information about the Zope mailing list