RE: [Zope] Zope Session Timeout
From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Andreas Jung Subject: Re: [Zope] Zope Session Timeout
--On Freitag, 24. September 2004 10:28 Uhr -0400 Asad Habib <ahabib@engin.umich.edu> wrote:
Hello. Thanks for your input. Isn't there a better way to achieve this? Is there a pre-defined function I could use, perhaps?
You could look at the API yourself :-)
In a sublime bit of irony, I actually went to look at the API reference and found the following commentary at the top of the page: Anonymous User - June 26, 2002 1:43 pm: The reference describes nearly nothing when you don't know the solution! Examples are absolutely necessary. Anonymous User - Nov. 12, 2003 10:52 am: Look at http://www.php.net : it's both a precise API reference for PHP developers, and a tutorial full of interesting samples. Apart from the Zope Book (which efficiently sums up the ZMI) I have rarely seen such a poor pedagogical and practical approach as among the zope documentation. Anonymous User - Dec. 24, 2003 1:55 am: So convoluted! So frustrating! It would be much more useful to have this information organized in a more hierarchical fashion, like Python's Global Module Index (c.f. http://www.python.org/doc/current/modindex.html) Anonymous User - Jan. 18, 2004 5:46 am: For the love of god, someone please listen to these suggestions. 1) Table of contents / index 2) General organization (php.net, http://www.python.org/doc/current/modindex.html) 3) Example code. One of greatest things that the PHP community has going for it is a clear, concise, organized reference, WITH EXAMPLES. Newbies get rolling instantly, and advanced users are able to skip to exactly what they're looking for. edcass - Jan. 18, 2004 7:24 pm: man, I stopped developing in Zope 2 years ago... I thought this would have been dealt with by now. Well, I suppose I'll finish this project off and then check back in in another 2 years. See you then... furiag - Mar. 1, 2004 5:12 am: This API reference is uncompleted. It doesn´t include commands like manage_clone or manage_delObjects. I guess there are a lot more. Of course, I'm sure these were all lazy people who just like to complain and couldn't be troubled to RTFM. I, as Andreas puts it, they don't have the "intelligence to perform such basic tasks as reading and doing investigations."
-aj
-- Mike
In a sublime bit of irony, I actually went to look at the API reference and found the following commentary at the top of the page:
<constructive Zope Book comment quotations snipped>
Of course, I'm sure these were all lazy people who just like to complain and couldn't be troubled to RTFM. I, as Andreas puts it, they don't have the "intelligence to perform such basic tasks as reading and doing investigations."
Paul Winkler has signed up to revamp this chapter for the 2.7 book. It's a huge, complicated, ill-defined and thankless task and may not get done, however. He could probably use some help. - C
On Fri, Sep 24, 2004 at 04:39:54PM -0400, Tiller, Michael (M.M.) wrote:
Of course, I'm sure these were all lazy people who just like to complain and couldn't be troubled to RTFM.
Maybe not... but it's certainly easier to gripe than to help. If you look a little further down, you see a note from me asking for help with updating / improving the API reference in question. So far I have heard from exactly one person (hi Don). Maybe the call-for-help should go at the very top. I don't currently have rights to do that on zope.org. -- Paul Winkler http://www.slinkp.com
Paul Winkler wrote:
Maybe not... but it's certainly easier to gripe than to help. If you look a little further down, you see a note from me asking for help with updating / improving the API reference in question. So far I have heard from exactly one person (hi Don).
Good on ya mate (thats Kiwi for, like, well done, or something). I feel unqualified to say anything, as I have never contributed to the Zope Book, but sometimes the reason people post questions here is actually that the Zope Book offered little or no real help for somebody who did not already understand the Zope environment and mechanisms inside-out. One major missing feature is valid, real-world, EXAMPLES. If all you have for a reply here is a terse and unhelpful statement about "read the Zope Book you loser" then please, don't bother posting white noise into the conversation. If you care about a supportive development community, please try to produce an example that could be added to the particular section of the Zope Book relating to the question somebody has posted here. Or bother to read that section of the Zope Book yourself and work out why a beginner was struggling with it. -- Les Ferguson Software developer Waitakere, NZ
Yet another potential solution... In the root directory (of a default zope installation) you will find a 'temp_folder' object. Inside this object is a 'session_data' object. Click on the session_data object and you will see a field "Script to call when objects are deleted". The online Help has more info on what parameters are passed to a script you enter here. You may be able to use this to set a flag somewhere which you can check and/or invoke some other script to do whatever needs to be done. Jonathan ----- Original Message ----- From: "Tiller, Michael (M.M.)" <mtiller@ford.com> To: "Asad Habib" <ahabib@engin.umich.edu> Cc: <zope@zope.org> Sent: September 24, 2004 4:39 PM Subject: RE: [Zope] Zope Session Timeout
From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Andreas Jung Subject: Re: [Zope] Zope Session Timeout
--On Freitag, 24. September 2004 10:28 Uhr -0400 Asad Habib <ahabib@engin.umich.edu> wrote:
Hello. Thanks for your input. Isn't there a better way to achieve this? Is there a pre-defined function I could use, perhaps?
You could look at the API yourself :-)
In a sublime bit of irony, I actually went to look at the API reference and found the following commentary at the top of the page:
Anonymous User - June 26, 2002 1:43 pm: The reference describes nearly nothing when you don't know the solution! Examples are absolutely necessary.
Anonymous User - Nov. 12, 2003 10:52 am: Look at http://www.php.net : it's both a precise API reference for PHP developers, and a tutorial full of interesting samples. Apart from the Zope Book (which efficiently sums up the ZMI) I have rarely seen such a poor pedagogical and practical approach as among the zope documentation.
Anonymous User - Dec. 24, 2003 1:55 am: So convoluted! So frustrating! It would be much more useful to have this information organized in a more hierarchical fashion, like Python's Global Module Index (c.f. http://www.python.org/doc/current/modindex.html)
Anonymous User - Jan. 18, 2004 5:46 am: For the love of god, someone please listen to these suggestions. 1) Table of contents / index 2) General organization (php.net, http://www.python.org/doc/current/modindex.html) 3) Example code. One of greatest things that the PHP community has going for it is a clear, concise, organized reference, WITH EXAMPLES. Newbies get rolling instantly, and advanced users are able to skip to exactly what they're looking for.
edcass - Jan. 18, 2004 7:24 pm: man, I stopped developing in Zope 2 years ago... I thought this would have been dealt with by now. Well, I suppose I'll finish this project off and then check back in in another 2 years. See you then...
furiag - Mar. 1, 2004 5:12 am: This API reference is uncompleted. It doesn´t include commands like manage_clone or manage_delObjects. I guess there are a lot more.
Of course, I'm sure these were all lazy people who just like to complain and couldn't be troubled to RTFM. I, as Andreas puts it, they don't have the "intelligence to perform such basic tasks as reading and doing investigations."
-aj
-- Mike
_______________________________________________ Zope maillist - Zope@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 )
participants (5)
-
Chris McDonough -
Jonathan Hobbs -
Les Ferguson -
Paul Winkler -
Tiller, Michael (M.M.)