[Javascript] Detecting that a page is accessible
Esther_Strom at hmco.com
Esther_Strom at hmco.com
Tue Aug 13 08:32:58 CDT 2002
I don't know about detecting that in javascript, and I don't know if you
can detect a server being down (the code would be sitting on that server,
wouldn't it?), but for page inaccessability (on a working server), you
could create a custom 404 (or other error) page that has the redirect code
in its onLoad event.
Here's a site with lots of info on custom error pages:
http://www.plinko.net/404/
"Fernando, Robert"
<Robert.Fernando at anitete To: "'javascript at LaTech.edu'" <javascript at LaTech.edu>
lecoms.com> cc:
Sent by: Subject: [Javascript] Detecting that a page is accessible
javascript-admin at LaTech.
edu
08/13/2002 08:22 AM
Please respond to
javascript
Hi all,
Is it possible in JavaScript to detect a page / server not being
accessible.
I am, aiming to do this so that I can redirect user to either my webserver
if active and connected to the internet or to a free WebPages server, which
mirrors my webserver.
In other words a failure and redirect script.
thanks
Robert Fernando
Personal views not necessarily those of
Anite Telecoms Ltd, Registered in England No. 1721900 Registered Office:
100 Longwater Avenue, GreenPark, Reading, Berkshire RG2 6GP, United Kingdom
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
https://lists.LaTech.edu/mailman/listinfo/javascript
More information about the Javascript
mailing list