Re: Best way to track user presence

2010-01-15 Thread E17
De La Harpe Golden wrote: > E17 wrote: > > I wouldn't like to use cron, as running full python execution stack is > > quite expensive in terms of performance. For the same reason I don't > > like to run this code on [every] request handlers. > > > Seems to me lik

Re: Best way to track user presence

2010-01-15 Thread E17
I think you are right, the built-in session timeout would be the best and the most ideologically correct solution. Thank you) On Jan 15, 4:27 am, Shawn Milochik wrote: > Use the built-in session timeout. Probably a good idea in any case, to   > protect your data and user privacy. > > If they don'

Best way to track user presence

2010-01-14 Thread E17
Hi, in my Django application I need a way to track logged users presence. User gets an 'online' status when he/she logs in and 'offline' status when logs out, it's pretty simple. But what is the best way to handle non-logged-out sessions? One need to periodically check all sessions on last activi