kazu2012 / persevere-framework

Automatically exported from code.google.com/p/persevere-framework
0 stars 0 forks source link

Return logged in users #217

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hope I'm doing this right --
if there was a method to check to see if a specific user logged in, or a
method to return all users logged in, that would be extremely helpful.

Thanks
Alex

Original issue reported on code.google.com by asimon...@gmail.com on 19 Jul 2009 at 4:33

GoogleCodeExporter commented 8 years ago
Is this supposed to be all the users that currently have an active/open Comet 
connection to the server, or is supposed to be all the users that have an 
authenticated 
session (made an HTTP request within the last 30 minutes, or whatever the 
session 
timeout is)? The former will only be those that are using Comet. The latter 
could 
include users even if they left the app and closed the browser 25 minutes ago.

Original comment by kris...@gmail.com on 25 Jul 2009 at 9:29

GoogleCodeExporter commented 8 years ago
You should now be able to use pjs.loggedInUsers() to get a list of the 
currently logged 
in users.

Original comment by kris...@gmail.com on 6 Aug 2009 at 2:36