I noticed a strange issue whereby when refreshing a page with SSE on, the session count was increasing and the old sessions was remaining until cleanup occurred. On further investigation, it appears in Chrome that the $(window).on(“unload”) is not firing to unregister the event stream before reloading the page. It doesn’t occur even when moving to another site either.
It works fine with Firefox so I did a bit of research and people seem to state the onbeforeunload event works better than unload in Chrome.
Just wondered if you’d heard/seen this issue before?