Re: [Zope] TOC ondelete event

2007-07-30 Thread Chris Withers
[EMAIL PROTECTED] wrote: 2) However the only way I see is: a- keep the session id in the request b- if request.savedsessionid<>session.id then alert "session timed out" This won't work as you expect. Specifically, request.savedsessionid will never be there when you want it, since a request

Re: [Zope] TOC ondelete event

2007-07-28 Thread Jonathan
- Original Message - From: <[EMAIL PROTECTED]> To: "dev101" <[EMAIL PROTECTED]> Cc: "zope" Sent: Saturday, July 28, 2007 8:51 AM Subject: Re: [Zope] TOC ondelete event Hi Jonathan, I'm sure that what you said is right but 1) I tried to change m

Re: [Zope] TOC ondelete event

2007-07-28 Thread [EMAIL PROTECTED]
then alert "session timed out" thank you for your help -- Initial Header --- >From : "Jonathan" [EMAIL PROTECTED] To : [EMAIL PROTECTED],"zope" zope@zope.org Cc : Date : Sat, 28 Jul 2007 08:17:08 -

Re: [Zope] TOC ondelete event

2007-07-28 Thread Jonathan
- Original Message - From: <[EMAIL PROTECTED]> To: "zope" Sent: Saturday, July 28, 2007 7:15 AM Subject: [Zope] TOC ondelete event I'm setting up a Session data Manager with a Transient Object Container that call a python script session_delete? (sdo,toc). I w

[Zope] TOC ondelete event

2007-07-28 Thread [EMAIL PROTECTED]
Hi, I'm setting up a Session data Manager with a Transient Object Container that call a python script session_delete(sdo,toc). I want to show a message like ("your session was terminated due inactivity") so I tried to write this #PYTHON SCRIPT (NOT EXTERNAL) session_delete(sdo,toc) request = c