Re: [Zope] Defining a session idle timeout value using FSSession...
Aaron Bostick writes: Would anyone on the list have a solution to implementing idle timeouts using FSSession? I know you can cron up a simple job to delete the FSSession hierarchy based on date and time, but how do you know which sessions are still being used if you want to delete stuff say every 10 minutes or so? Under Unix, your code may look at the "last access time" (or universally the "modification time"). In Python, you can use the function "os.stat" to obtain this time. Dieter ___ Zope maillist - [EMAIL PROTECTED] 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] Defining a session idle timeout value using FSSession...
Would anyone on the list have a solution to implementing idle timeouts using FSSession? I know you can cron up a simple job to delete the FSSession hierarchy based on date and time, but how do you know which sessions are still being used if you want to delete stuff say every 10 minutes or so? I logged on this morning to find out my session was still active from last night! Oh boy! Thanks folks! Aaron Bostick ___ Zope maillist - [EMAIL PROTECTED] 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 )