What is the best way to implement a 'last seen' function in a django web app?

Posted by Hobhouse on Stack Overflow See other posts from Stack Overflow or by Hobhouse
Published on 2010-06-12T08:12:09Z Indexed on 2010/06/12 9:02 UTC
Read the original article Hit count: 284

Filed under:
|
|

I have a running django/apache2 + memcached app (ubuntu) and would like to keep track of logged in users that are online.

What would be the best way to track this?

I would prefer not writing to the database each time a logged in user loads a page; but what other options are there?

© Stack Overflow or respective owner

Related posts about python

Related posts about django