I have read every single thing on connection handeling with no luck. What I want to do is simple.
I want a user to be able to go to a website where when he loses connection to the site (because maybe wifi cut off) a timestamp is written to a file.
So the flow would be this.
1. user goes to www.testinternet.com
2. user leaves his browser there
3. when the user's internet disconnects, I write the time it disconnected to a file.
Everything I have tried doesn't seem to detect the disconnect.
Bookmarks