Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics 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 August 20th, 2004, 12:15 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to make Response.Redirect to page after 5 secs

Hello
I noticed on other websites where after registering on website I get redirect to registration confirmation page then after 5 Secs I get redirected to the home page without pressing any buttons.

How do you do this?

 
Old August 20th, 2004, 12:26 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 463
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to madhukp
Default

You can include a meta tag in the head tag as below.

<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.yoursite.com/home.asp">

This will load the page http://www.yoursite.com/home.asp 5 seconds after the current page is fully loaded.
 
Old August 20th, 2004, 03:53 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I didn't know I was posting ques on ASP site not ASP.NET site.
Does this answer above apply to ASP.NET??

 
Old August 20th, 2004, 04:09 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

That answer works on any HTML page.

Snib

<><
 
Old August 20th, 2004, 07:35 PM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Snib!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.redirect in new window acdsky Classic ASP Basics 10 February 8th, 2012 12:21 PM
response.redirect sarah lee ASP.NET 1.0 and 1.1 Basics 1 October 27th, 2006 08:57 AM
response.redirect ava_h .NET Framework 2.0 0 October 18th, 2006 10:21 PM
response.redirect crmpicco Classic ASP Basics 3 February 9th, 2005 01:50 AM
Response.Redirect dhborchardt Classic ASP Basics 4 June 16th, 2003 05:56 AM





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