-
FEATURED COMPONENTS
First time here? Check out the FAQ!
![]() | 1 | initial version | |
Does anyone know how to catch the server 503 error thrown by the browser if the server has gone down? In my case, if we are sitting on a page and the server is restarted, the next time the user presses anything it will pop the "503: Service Temporarily Unavailable" dialog, then when they hit ok the page will reload and all is well. I want to do that reload under the covers so the dialog never gets popped.
I haven't found anything on the web and was wondering if anyone knows a ZK way or any other way to do this. Thanks! Andy
![]() | 2 | Catch a stale page after the server has gone down and come back up |
Does anyone know how to catch the server 503 error thrown by the browser if the server has gone down?
down?
Or another way to put this is catch a stale page, the server has cycled and is back up but our page is now stale.
In my case, if we are sitting on a page and the server is restarted, the next time the user presses anything it will pop the "503: Service Temporarily Unavailable" dialog, then when they hit ok the page will reload and all is well. I want to do that reload under the covers so the dialog never gets popped.
I haven't found anything on the web and was wondering if anyone knows a ZK way or any other way to do this. Thanks! Andy
![]() | 3 | No.3 Revision |
Does anyone know how to catch the server 503 error thrown by the browser if the server has gone down?
Or another way to put this is catch a stale page, the server has cycled and is back up but our page is now stale.
In my case, if we are sitting on a page and the server is restarted, the next time the user presses anything it will pop the "503: Service Temporarily Unavailable" dialog, then when they hit ok the page will reload and all is well. I want to do that reload under the covers so the dialog never gets popped.
I haven't found anything on the web and was wondering if anyone knows a ZK way or any other way to do this. Thanks! Andy