12-12-2006, 12:33 PM
how can i redirect a web page if it is not loaded within a particular time limit
12-12-2006, 01:34 PM
There are several ways to do this.
However, not knowing the details of your site, we can't give you the exact answer.
First, why are you doing this?
Second, what languages can you use?
The only effective way I can think of is with using databases and a server side language, like PHP.
The redirect code is easy, and there are several techniques for this.
Best would be outputting an http-header location redirect directly, as you can do with PHP, but this doesn't work all the time.
Using a meta tag is ok as well:
<meta http-equiv="redirect" content="5;url=http://google.com">
(redirect to google after 5 seconds, where the number is the seconds, and the url can be left off and defaults to the current page)
Again, it all depends on why and how you will know it's "too late", as well as how secure it must be.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.