In my signalR connection
var chat = jQuery.connection.cHATS;
each time the page is loaded, the connection is therefore interrupted. Is there a way to stop the connection when the page is loaded or the tab is closed?
In my signalR connection
var chat = jQuery.connection.cHATS;
each time the page is loaded, the connection is therefore interrupted. Is there a way to stop the connection when the page is loaded or the tab is closed?