Last post Jul 03, 2014 02:05 PM by Eileithyia
Jun 18, 2014 10:33 PM|gaojianzhuang|LINK
I create a signalR demo, and override the OnDisconnected event in the Hub. In PC1, the event fired ok. However, I moved my demo to PC2, the "OnDisconnected" event not fired, and other logic is ok.
The environment as below:
.Net framework 4.5
OS: Windows 8.0
Jun 25, 2014 06:13 PM|pfletcher|LINK
When a client disconnects, it may or may not notify the server. The OnDisconnect will eventually fire after the default 30 second timeout, however- Did you give it a chance to time out?
Jul 03, 2014 02:05 PM|Eileithyia|LINK
i have the same problem. OnDisconnected never get call if the user loses internet connection. It never come after the 30 secs timeout also. Not sure I disable it some where or not.
the OnDisconnected only come if the users close the browser or nav to different page.