i have a simple chat application in flex 3 and i want to 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 ?
+1
A:
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.
Raul Agrait
2009-11-02 05:12:30
would you do that with the media server or the website (for me asp.net) server ?
Omu
2009-11-02 05:19:51
@Omu: If possible, with the media server, whatever server is actually storing the chat data.
Raul Agrait
2009-11-02 05:27:17