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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

checking to see if a server is available

Status
Not open for further replies.

amandabf

Technical User
Aug 30, 2001
11
US
I have a button on a page that sends the user to a different server. I want to write code so that the button checks to see if the server is available. If the server is not available, I want the user to be directed to a nice friendly page that tells them the server is down. I know I need an if/then statement, but I don't know how to check the server before sending the user to it.

Please help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top