Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.

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



Application Security Testing: An Integral Part of DevOps

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:
setTimeout("top.location.href = 'http://www.devx.com/'",1000);
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.



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