Hi Sam, HTTP has no concept of sessions or browser windows - so there's no way to know if a browser window is still open short of using AJAX and regularly pinging the application, as you suggest.
-Nick Johnson On Thu, Aug 6, 2009 at 6:51 PM, Sam<[email protected]> wrote: > > Hello, > > Is it possible to get a list of users currently logged into a specific > application? This would assume that (a) the user has been > authenticated to the application and (b) that the application window/ > tab is still open. > > I'm writing an app where one user invites a second user to play a card > game and I'm having trouble finding a way to identify the universe of > potential invitees. I thought about having all of the users > constantly update the memcache to notify the application that they > were still logged in and then filter out all the users who hadn't > pinged in the past 5000 ms, but I was wondering if there was a better > way. > > Thanks, > > Sam > > > > -- Nick Johnson, Developer Programs Engineer, App Engine --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
