Detect if lost connection to Server

Hi (On Windows)
If any way to Detect is lost connection to Server on web app from host and write an error and write text file with type error connection, timeout and other
But on client PC
thanks

[quote=335946:@Alexis Colon Lugo]Hi (On Windows)
If any way to Detect is lost connection to Server on web app from host and write an error and write text file with type error connection, timeout and other
But on client PC
thanks[/quote]
Disconnection is done for you now in the form of the disconnect screen.

As far as writing to the client, that is specifically prevented by browsers except for a download of some sort. The fact that you have disconnected means that you can’t write anything to a file anyway unless you did it completely in JavaScript.

What is it that you are trying to solve?