|
Mark, Does your ISP support servlets? I'm just winging it here, but you could have your main web site reference a servlet on the ISP instead of an HTML page on the customer web site. That servlet could then try to connect with your AS/400. If that connection failed, you could display your alert box indicating the site was down for maintenance. If the connection succeeded, you could just transfer to the customer web site. Hope this helps! Richard Casey -----Original Message----- From: web400-admin@midrange.com [mailto:web400-admin@midrange.com]On Behalf Of Mark A. Manske Sent: Wednesday, September 26, 2001 11:39 AM To: 'WEB400 (E-mail) Subject: [WEB400] site validation (up/down) I have been poking around the JavaScript sites to no avail - and looking over an O'Reilly JavaScript book to no avail also - So here is my question to the masters - Main web site is "FrontPage" static stuff being hosted by our ISP, you click a link to get to the customer web site; which is entirely hosted on our AS/400 - Here is our dilemma (please, I would rather not, but its not my call) we IPL and do a restrictive backup each week on Friday nights, is there "any" JavaScript that can check to see first if the referenced http site is up or down before I forward the request off ; that way I could send an alert box to the surfer to let them know that the site is down for "maintenance" I thought about "updating" the outside web hosted pages, but that could get really messy, as I would have 11 pages to "fix" to say down, and then turn back when we are live; not to mention the things I would have to do since that site is done entirely in FrontPage2000 in order to keep things in sync; and when I get hit by a truck, someone after me will forget about it and screw things all up. Thanks for any direction in utilizing JavaScript (or if I HAVE to I will just let them get the error of site not found) This also plays into an attempt at sending an alert message to users that are on-line near the time we are going into a restrictive state for the backup and IPL... Yuk.. Mark A. Manske Fleming CSD - Plymouth Division Sr. Project Lead http://www.minter-weisman.com mailto:mmanske@minter-weisman.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.