ttamturk Posted November 4, 2013 Share Posted November 4, 2013 Hi, I am trying to do a chat module for my application. I need to know which user is online or offline and idle time for users are online but not active. Any suggestions? Quote Link to comment Share on other sites More sharing options...
zilav Posted November 4, 2013 Share Posted November 4, 2013 TUniTimer with long polling. Quote Link to comment Share on other sites More sharing options...
ttamturk Posted November 7, 2013 Author Share Posted November 7, 2013 Yes, it can be simulated with Timer but it's not the best way to do it. I think UniServerModule must know about users online states because it has a timeout property for a user session. Quote Link to comment Share on other sites More sharing options...
zilav Posted November 7, 2013 Share Posted November 7, 2013 "idle time for users are online but not active" This is not the best way to do it, it is THE only way to do - using long polling from client. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.