Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback: irt.org FAQ Knowledge Base Q447

Feedback on: irt.org FAQ Knowledge Base Q447

Sent by Marygrace Blum on July 04, 2002 at 02:28:30: - feedback #3984

Length:
Just right

Comments:
Is there any way to find out if a server is up and then redirecting the user? I understand that this cannot be done using client side javascript, but I'm in desparate need for a solution.

Thanks


Sent by Erik-Jan Vens on January 09, 2003 at 13:25:47: - feedback #4356

Comments:
If you know there is an image on the page where you want to redirect to, you could do something like this:

<img src="http://server/image.gif" onerror="location.href='noRedirect.html'"
onload="location.href='http://server/index.html'">



©2018 Martin Webb