How can I determ开发者_如何学Cine 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 to invoke periodic calls to my remote server; just to see if the time from their last noted activity was about, say, 10 minutes?
You could use Juggernaut to determine if the user if online by "ping" him constantly.
加载中,请稍侯......
精彩评论