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 ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.