RE: [Zope] Current number of active Zope sessions?
I'm not having any luck with this... Does anyone know if it's possible to do this in DTML? The same way it's done in the management interface for /temp_folder/session_data ??? eg. "10 item is in this transient object container." Having a look at the source code... <dtml-let l=getLen> <dtml-if l> <dtml-if "l == 1">1 item is in this transient object container. <dtml-else><dtml-var l> items are in this transient object container. </dtml-if> <dtml-else> There are no items in this transient object container. </dtml-if> </dtml-let But getLen of what? Any help much appreciated. TIA, Michael -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Michael Fox Sent: Thursday, 24 June 2004 10:56 AM To: zope@zope.org Subject: [Zope] Current number of active Zope sessions? Hi *, Is it possible to output the current number of active Zope sessions in my transient object container ie. /temp_folder/session_data I want to limit my application to a certain amount of current users. Regards, Michael _______________________________________________ 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 (1)
-
Michael Fox