Project

General

Profile

Docs ModUserOnline » History » Revision 2

Revision 1 (Anonymous, 2006-09-07 23:13) → Revision 2/35 (Anonymous, 2006-09-07 23:13)

{{{ 
 #!rst 
 === 
 UserOnline 
 === 

 ---------------------- 
 Module: mod_useronline 
 ---------------------- 

 .. meta:: 
   :keywords: lighttpd, online user, tracking, unique ips 
  
 .. contents:: Table of Contents 


 Description 
 =========== 
 Module that tracks users online/active by unique ips (no cookies), includes counting hits, and linking into mod_status ([http://trac.lighttpd.net/trac/wiki/Docs%3AModStatus#server-statistics /server-statistics]). 


 Options 
 ======= 

 useronline.enable 

   enable or disable tracking for given area 

   Default: 0 [disabled] 

   Example: useronline.enable = 1  

 useronline.online_age 

   number of seconds till user/ip is no longer considered online 

   Default: 300 

   Example: useronline.online_age = 600 

 useronline.active_age 

   number of seconds till user/ip is no longer considered active (note: setting this higher than online_age will give you the same active count as online) 

   Default: useronline.online_age / 3 = 100 

   Example: useronline.active_age = 60 

 useronline.max_ips 

   max number of ips to track (note: if this limit is hit, the server will not track new users/ips) [[BR]] 
    
   memory usage = 16 * max_ips (on a 64bit system) 

   Default: 1024 

   Example: useronline.max_ips = 4096 

 useronline.status_name 

   name to associate to the variables shown in server-statistics (if not set, it will not report) 
 
   Default: unset 

   Example: useronline.status_name = "myWonderfulSite"