Why not just have a login time and a session/socket closed time? Then calculate the total amount of time the user has been logged in by, IF you wanted to show an ticker of some kind with how much time the user has been logged in by, you could still do this with login time by current time...
I dont think processing a database update every min would be good idea when you have millions of users all logged in at once :) Just some ideas... - Kyle -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
