UserCounter


  This Zope product will count the number active users a site has by
  keeping track of the traversals of unique IPs and their last access
  time.  

  Create an instance in a folder to track the activity under that
  folder.  You can access the counter and other methods through DTML.

  Yeah, there is no such thing as connection state over HTTP, but I
  fake it.  UserCounter considers an active user someone who has
  viewed a page within the expire time.  If they haven't changed pages
  then they have either fallen asleep, or moved on to another page.

  Methods available through DTML:
  
    * user_count    - Return the number of active users

    * expire        - Clean the cache, invalidating all inactive users

    * active_users  - Returns a list of tuples,
                      containing the IP and last access time in UTC format
                      as returned by time.time()

  An example:

   <dtml-with expr="MyUserCounter">
    <dtml-var user_count> users online
   </dtml-with>

  It is important to use the <dtml-with expr="Counter"> syntax rather 
  than the <dtml-with object> syntax.  See 
  http://www.zope.org/Members/SeanT/WithExpr for the explanation.

  More information is available at http://www.zope.org/Members/seant/UserCounter
