Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
|
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 19th, 2003, 07:24 AM
Authorized User
 
Join Date: Jun 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is there a way to capture "page cannot be display"

Hello everyone,

I have a web page which automatically refresh itself and redirect to another page for 30 sec and then refresh and redirect back to the main page and the cycle begins again.

The page that gets redirected to is our Intranet home page and sometimes it's down and so I get this "Page cannot be displayed" from my web page.

Is there a way to find out, after loading a page to know if it failed or not?

Thank you


A.Delcy
Web Administrator
Canada
__________________
A.Delcy
Developer
Canada
 
Old July 3rd, 2003, 07:52 PM
Authorized User
 
Join Date: Jun 2003
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Dan Jallits Send a message via MSN to Dan Jallits Send a message via Yahoo to Dan Jallits
Default

May I ask why are you doing it this way?

It would seem easier to either use a SSI, or Server-Side Include to draw the information from your Intranet page to your Internet page. If your information is dynamic, stored in a DB, then you should use a scripting language like PHP to include the material you want.

I say this because I would be pretty frustrated if I went to your site <YOUR INTERNET> and only got a 30 second peek before the page was refreshed and then redirected to another site <YOUR INTRANET> and the refreshed and redirected again.

Then again I may have misunderstood what you were saying. Can you provide a link so we can see what you are talking about?

Best Regards,
Dan Jallits





Similar Threads
Thread Thread Starter Forum Replies Last Post
first page display eyalec BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 July 21st, 2008 03:17 AM
datagrid does not display next page vhrao ASP.NET 2.0 Basics 9 July 22nd, 2007 12:28 AM
interactively capture IE page nutrino VBScript 0 January 23rd, 2007 11:06 AM
Display page while processing echovue Classic ASP Professional 1 May 28th, 2006 09:30 AM
aspx page not display! angelran Dreamweaver (all versions) 6 August 15th, 2005 03:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.