Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Beginner
Apr 15, 2002

Page Redirection


There is no Response object method that will redirect/forward a page visitor to another page after a specified amount of time.

To achieve this you can use following two methods:
1) Using Javascript:
 
<SCRIPT LANGUAGE="JavaScript">
<!--
setTimeout("top.location.href = 'http://www.devx.com/'",1000);
//-->
</SCRIPT>
2) Using the meta tag: The problem with this method is that the redirection page is included in the visitor's page history, and thus when the user selects the "back" button, they'll reach the redirection page, which will redirect them to the page from which they just navigated.
Harinatha Reddy
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date