zanghani
07-31-2003, 01:27 PM
Hi,
I have an asp page that checks if a particular server is online. If it is not, then this asp page jumps to serverNotRunning.htm
Now, every time the server goes down, I have to run around our facility and manually reload the asp file on all the machines that were using that file. I'm new to javascript and want something that would automatically try to reload the prevous pages after every 5 minutes or somthing all the machines.
I don't know if http_referer would work in this case, since the asp file automatically calls serverNotRunning.htm
I was also thinking of using the history to back up to the last page, but I don't know if that would work properly.
I can't just use the refresh tag to go to the asp file, since all machines are using that file, but with different query strings to get different info, and I don't know a way of keeping track of which machine is displaying what.
Thanks
I have an asp page that checks if a particular server is online. If it is not, then this asp page jumps to serverNotRunning.htm
Now, every time the server goes down, I have to run around our facility and manually reload the asp file on all the machines that were using that file. I'm new to javascript and want something that would automatically try to reload the prevous pages after every 5 minutes or somthing all the machines.
I don't know if http_referer would work in this case, since the asp file automatically calls serverNotRunning.htm
I was also thinking of using the history to back up to the last page, but I don't know if that would work properly.
I can't just use the refresh tag to go to the asp file, since all machines are using that file, but with different query strings to get different info, and I don't know a way of keeping track of which machine is displaying what.
Thanks