[Zope] Sessions question

Chris McDonough chrism@zope.com
13 Aug 2002 20:20:16 -0400


Well, someone has implemented a Session User Folder (I spied it on
Zope.org a while back) that might serve this purpose.  Let's see if I
can find it...aha!  http://www.zope.org/Members/levi/SessionUserFolder
.  I've not used it so I'm not sure how it works...

HTH,

- C

On Tue, 2002-08-13 at 07:25, List Subscriber @ Neurobs wrote:
> Hi,
> 
> Thanks for the answers. After review of the mentioned docs, I realize 
> that is no surefire way to logout a user if a session initiated by him 
> or her expires.. So how do I handle this thing??  How can I make sure 
> that is a user's session expires he or she specifically gets properly 
> logged out?? Is it even possible??
> 
> TIA
> AM
> 
> Chris McDonough wrote:
> 
> >>2. How can I call my UF's user_logout function on expiry of the session??
> >>
> >>In CST there was a field that allowed me to set up a method to be called 
> >>on expiry. I didnt find any such option in the session_data_manager or 
> >>browser_id_manager. So how do I do that??
> >>
> >
> >This functionality has moved to the transient object container
> >('/temp_folder/session_data').  See
> >http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Sessions.stx
> >and search for " Using Session onAdd and onDelete Events".
> >
> >- C
> >
> >
> >
> >_______________________________________________
> >Zope maillist  -  Zope@zope.org
> >http://lists.zope.org/mailman/listinfo/zope
> >**   No cross posts or HTML encoding!  **
> >(Related lists - 
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >
> >
> 
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )