Account Activity

27 views
Skip to first unread message

Rodolfo

unread,
Aug 8, 2011, 9:49:51 AM8/8/11
to google-a...@googlegroups.com
Hi Everyone,
I develop a chat room with Channel technology for desktop and xmpp for mobile device, all work fine. But now i want tell to connected users how many sessions is open. I found that in gmail exist an link named "Account Activity", this link to show the last sessions and where was opened.
How i can to use this opcion in GAE in java or exist other way for obtain the number of opened session for each account?

Many Thanks!!!
Rodolfo

Robert Kluin

unread,
Aug 9, 2011, 12:44:31 AM8/9/11
to google-a...@googlegroups.com
Hi Rodolfo,
You should keep track of your user activity. How you do that will
very much depend on how users interact with your app, the structure of
your data, and how you want to use that data.

Perhaps creating a single activity entity for each user with a text
property you store the info you want to track in would do the trick.
Just serialize a dict or something to text. Update that entity when
the user does something.


Robert

> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/TkpUsV-XnL8J.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

Reply all
Reply to author
Forward
0 new messages