Asked by Wilson Edwards
at 2024-09-03 08:46:57
Point:500 Replies:0 POST_ID:829265USER_ID:12108
Topic:
window;linux
I would like to know how to detect my server down when user are using my site page then help them to switch backup server.
I am trying using windown.unload to detect user click reload button, it is ok, when the time let me to check the current server status is too short because google browser will send the page which warn users the server is down within 2 or 3 seconds only.My check server status may not be completed in order to switch the users to the backup server
Any Comment!