Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 01-26-2009, 08:26 PM   #1
New Member
 
Join Date: Jan 2009
Location: Portland, OR
Posts: 1
Question Auto redirect if error page

I currently am responsible for a webpage that is displayed on a kiosk here in the office (showing the latest testing results: pass, fail, etc...). Once in a while the page doesn't load and goes to the IE error page. Since that page doesn't have an automatic refresh it's just stuck until someone manually intervenes.

The browser is displaying in Kiosk mode. I would like to somehow set the machine to automatically detect when the error page ("cannot display page") comes up and redirect back to the website that's supposed to be displaying. Is there a way to do this?

Thanks!
ProVing_ground is offline   Reply With Quote


Old 01-26-2009, 09:12 PM   #2
New Member
 
Join Date: Jan 2009
Location: Massachusetts, USA
Posts: 23
Default

Are you referring to something like a 404 error page?
dWhite is offline   Reply With Quote
Old 01-26-2009, 09:18 PM   #3
New Member
 
Join Date: Jan 2009
Posts: 7
Default

if it is 404 some good stuff here:
http://www.plinko.net/404/custom.asp#ie
OdinSmasher is offline   Reply With Quote
Old 01-26-2009, 10:53 PM   #4
Silver Member
 
horrorshow75's Avatar
 
Join Date: Dec 2008
Location: HBG, PA
Posts: 160
Default

I think he wants it to redirect back to his home page..say for example www.domain.com/page2 cannot be displayed for some reason the auto direct would refresh the page back to www.domain.com or www.domain.com/home. Something like that. Unfortunately i know of no way to do this. Maybe with a .htaccess redirect but i haven't the slightest how.
__________________
<!-- Tables are for data, not layout! -->
horrorshow75 is offline   Reply With Quote
Old 01-26-2009, 11:31 PM   #5
Super Moderator
 
jnjc's Avatar
 
Join Date: Jun 2008
Posts: 493
Default

What you could do is create a page on the actual machine that the browser is running on (hence there will be no 404 issue). Have this page contain an iframe that takes up the entire browser and displays your remote page, then add a piece of JS that refreshes the iframe at a certain interval.

The local page will always be visible, because it's local and if the remote page 404's then it'll be in the Iframe and should be OK next time the JS executes...

I hope this makes sense, if you have trouble putting it together let me know and I can post an example.

HTH,
JC
jnjc is offline   Reply With Quote


Reply

Tags
error, internet explorer, kiosk

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:41 PM.


Camera Forum - Computer Forum - Web Design Forum

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO 3.6.0 ©2011, Crawlability, Inc.