Last post Jan 30, 2018 08:24 AM by Fei Han - MSFT
Jan 24, 2018 09:38 PM|Best79|LINK
Jan 25, 2018 05:30 AM|Fei Han - MSFT|LINK
When I refresh browser the connection is always lost and need to reclick button for reload new connection.
When the user refreshes the page (or closes a browser window or tab, or navigates to a new page), the SignalR connection immediately ends because SignalR client code handles that browser event for you and calls the
For more information about connection lifetime events in SignalR, please refer to
Jan 26, 2018 06:36 PM|Best79|LINK
Hi Fei Han, in my server code i need to implement also a function "OnReconnected" like this?:
Public Overrides Function OnReconnected() As Task
My problem is the refresh page and user "off-on" continuously...
Jan 30, 2018 08:24 AM|Fei Han - MSFT|LINK
As I mentioned in previous reply, the SignalR connection immediately ends if user refreshes the page. If you want user automatically start a connection after refresh web page, you can try to explicitly call start method
jQuery document ready event.