[Zope] Zope Session Timeout

Asad Habib ahabib at engin.umich.edu
Fri Sep 24 10:28:23 EDT 2004


Hello. Thanks for your input. Isn't there a better way to achieve this? Is
there a pre-defined function I could use, perhaps?

- Asad


On Fri, 24 Sep 2004, Andreas Jung wrote:

> 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 )
>
>
>
>
> _______________________________________________
> 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