How can Sever detect when the html5 browser is closed

0 votes
currently, server does not receive any event to check if a web socket session is closed when closing/refreshing the browser.

the TCP/UDP socket SDK do notify that but html web socket does not.
asked Nov 13, 2015 in AppWarpS2 by nguyenanhdung (51 points)

1 Answer

+1 vote
Hello Dung,

Once session is closed due to closing/refreshing the browser, server will destroy the session after 6 secs.

Please let me know if this is not happening.

Thanks.
answered Nov 14, 2015 by rajeev.etc (1,660 points)
i found the solution by overriding onUserRemoved
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...