Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

connection refused

Status
Not open for further replies.

lintow

Programmer
Nov 29, 2004
82
US
I have a link that links to another web server page. If the web server that I'm trying to link to is down

then I would like to show a page that tells the client the server is down for maintenence.

Can this be down
 
It can be done... load the link into an iframe... and set the onload event for the iframe to set the status of the link to "working" (once triggered). This has a nasty side effect of visiting the link in question (and all the traffic and stuff that comes with it). The positive spin is that the page will be pre-cached :)

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
I do not want to use any frames. Is there another way to do this?
I think you could test if there is a connection to the URL or the sever? If there is no connection then redirect to another page?

Any help on this would be greatly appreciated
 
Do you have any sample script of this method?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top