Poser -----Original Message----- From: David Adams [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 2:46 PM To: CF-Talk Subject: OT: Is it possible to use clientside JS to redirect to backup webserver? In my enterprise all clients have a default html page that gets loaded when they initiate a web browser. I would like to put some logic in this page to get them to one of two actively running servers. I am thinking my code should look like this but not sure. Is this possible?? <script language="JavaScript1.1"> function redirect() { if (http://server1.com is running) { window.location="http://server1.com"; } else { window.location="http://server2.com"; } } </script> </head> <body onload="redirect()"></body></html> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists