I have a problem: when a client closes the browser window i should disconnect it from the openfire server. I’ve tried using the openfire property ‘xmpp.client.idle’ but i have no response, the connection is still alive.
I’ve tried calling the strophe disconnect function in the onunload event of the browser with no success.
There is another openfire property to check the client connection? I’m stuck with this.
Any help will be usefull.
Thanks in advance.