You can also make your clients send ajax hearbeats every so often. The
heartbeat call would update the last_seen property.

On Feb 24, 3:13 am, Brandon Thomson <[email protected]>
wrote:
> One way is to store a "lastSeen" datetime property for each user in
> some kind of user entity in your data model and then do a query to
> find how many were seen in the last 10 minutes or so.
>
> I don't recommend counting active http requests since the answer will
> be 0 most of the time. Requests don't last longer than 25ms or so and
> if they do you're burning your cpu quota.
>
> On Feb 23, 10:33 pm, niklas <[email protected]> wrote:
>
> > Hello,
> > how to count active users, e.g. count active http sessions can be
> > useful. if you know it please share it.
> > Thanks
> > Niklas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to