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 December 10th, 2005, 03:25 AM
Friend of Wrox
Join Date: Apr 2005
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Default Auto refresh


I have and ASP page which I want to refresh every 2 minutes automatically. This page contains a form where data is being displayed. This automatic display should allow me to see updated data every minute.

Can anyone help !!
Thanks in advance.
Old December 21st, 2005, 04:33 AM
Authorized User
Join Date: Nov 2005
Posts: 87
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to x_ray

if you read the 4 to 5 posts previously you would found the answer, i asked the same question and thanks to Peter, the prob was solved. take a look at his reply:

are you assuming that a user will have your page open continuously for more than 3 minutes (which would probably be unlikely)? If so, you could use a meta refresh:


Otherwise, the data should refresh every time the user opens the page.
To let the users know how up to date / out of date the data is, you could put the date & time on the page, such as:

<p>Page created at <% =Now() %>. <a href="#">Refresh</a></p>

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto-refresh page with asp? nlicata Classic ASP Basics 4 October 6th, 2015 01:52 PM
Auto-refresh user control in .NET 1.1 r_adarsh .NET Framework 1.x 2 February 1st, 2008 05:51 AM
Auto Refresh and Auto Delete deontae45 VB.NET 2002/2003 Basics 1 September 29th, 2006 04:53 PM
Javascript to replace auto refresh ? Mantis Java Databases 0 October 22nd, 2005 06:22 AM
Auto Refresh mateenmohd SQL Server 2000 5 February 22nd, 2004 07:24 AM

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