A user is idle for some time, will he disconnect ?

tiger zhang
Added about 5 years ago

A user is idle for some time, i find that it disconnect 。why?

Replies (2)

Added by Wojciech Kapcia TigaseTeam about 5 years ago

It's hard to tell without any logs. Most obvious reason is that it's internet connection was broken but this is just a guess without logs.


Added by Artur Hefczyc TigaseTeam about 5 years ago

Tigase disconnects users if there was no communication from the user for at least 24h. However, there are other factors which may cause user disconnection such as mobile devices are disconnected by mobile operators, web users are disconnected by web browser, proxy servers, etc... You need to provide us with more details about your use case.

Generally to make sure the user is connected and to prevent any data loss you need to use XMPP Ping from a client to the server and stream management extension.