I'd like it when my users close their Strophe-running browser for them to be disconnected after 5 seconds of not-returning to the BOSH server. Is that possible to configure now?
I need it to properly implement chat on my site (it's not good in this case if a user appears online 30 seconds after he closed the browser)
Do you want something like the following? http://xmpp.org/extensions/xep-0124.html#inactive Punjab supports inactivity and there is a timeout attribute too. You will have to alter the way you create a session.
I'd like it when my users close their Strophe-running browser for them to be disconnected after 5 seconds of not-returning to the BOSH server. Is that possible to configure now?
I need it to properly implement chat on my site (it's not good in this case if a user appears online 30 seconds after he closed the browser)