views:

32

answers:

1

How can I determine if a user is online or not? Preferably a group of users. I was thinking everytime a user visits a page create a record in the db with time.now and use ajax periodic call to remote to see if the time from last is say 10 minutes?

+1  A: 

You could use Juggernaut to determine if the user if online by "ping" him constantly.

benoror