开发者

Flex 3 tracking users (their presence) in the flash app

i have a simple chat application in flex 3 and i want to开发者_StackOverflow社区 make the list of users present on the right, how track this, how do you know when a user left if he just closed the browser window or typed in an other url ?


You could maintain a presence list on the server, and have each client periodically let the server know that they are still online when they are logged in. Then each client could query the server periodically to obtain a list of all the online users. The polling rates could be adjusted to suit your individual application needs.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜