We have some code that fires when the connection is lost it is in the
Code: Select all
smartFox.addEventListener( SFSEvent.onConnectionLost, onConnectionLost )Most times it fires fine. After a few minutes of being idle it fires off the connectionLost message and we pop up a msg saying you are disconnected from idle.
However randomly it will NOT send the message from server when a client has been idle for some time. The client will still be disconnected from SFS and if they try to interact with the world (chat, change room, etc) it will not work, however it LOOKS like they are still logged in. A few minutes later it *realizes* that it is not connected and calls the "connectionLost" message and kicks them out.
I've not been able to tell a pattern and was hoping for a fix or some troubleshooting help.
Thank you.