Wrox Programmer Forums
|
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 November 19th, 2003, 02:55 PM
Authorized User
 
Join Date: Oct 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default Redirect after a certain amount of time?

How can I do this with Response.Redirect? Or can I?

 
Old November 19th, 2003, 03:50 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Response.Redirect is a server call that happens as soon as that line executes when the page runs.

You need to write out a meta tag to the browser to refresh it after the alloted time:

<META HTTP-EQUIV=Refresh CONTENT="10; URL=myNewPage.asp">
The number is in seconds.

http://www.htmlhelp.com/reference/html40/head/meta.html

Peter
------------------------------------------------------
Work smarter, not harder.
 
Old November 19th, 2003, 05:15 PM
Authorized User
 
Join Date: Oct 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks! That's exactly what I was looking for!






Similar Threads
Thread Thread Starter Forum Replies Last Post
how to retrieve the amount nimmalaramesh SQL Server 2000 1 December 26th, 2007 12:38 PM
x amount of records per column Adam H-W Classic ASP Basics 4 April 27th, 2007 12:21 PM
Managing large amount of data at a time pandu345 Java Databases 0 May 19th, 2006 04:51 PM
Counting amount of record rtr1900 Classic ASP Databases 2 December 1st, 2005 08:08 AM
Total Amount display doosti Classic ASP Databases 2 November 14th, 2004 07:25 AM





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