Solved

Auto page refresh

Posted on 2004-04-16
3
936 Views
Last Modified: 2006-11-17
I wrote an asp.net page. I would like the page to automatically refresh itself at a specified interval, without any user interaction. Usually, I have to press f5 or press the refresh button to get this functionality. Is there any way to do it programmatically, so if the user has the web page in a browser, the page will refresh itself continuously at a specified interval?

THANKS!
0
Comment
Question by:gregasm
3 Comments
 
LVL 20

Accepted Solution

by:
ihenry earned 250 total points
ID: 10843954
you can use either meta html tag or javascript code to refresh a page automatically.

How to automatically refresh a web page ?
http://www.dotnetspider.com/Technology/KBPages/327.aspx

Create Dynamic Banners By Using JavaScript
http://www.codeproject.com/jscript/dynbanner.asp?df=100&forumid=1358&exp=0&select=6780
0
 
LVL 28

Assisted Solution

by:iboutchkine
iboutchkine earned 250 total points
ID: 10843985

1. Add REFRESH meta tag at top of your page..
HEAD>
<TITLE>Auto Refresh Page Example</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="60">
</HEAD

it will refresh on th einterval you put in content ( in this case 60)
0
 
LVL 8

Author Comment

by:gregasm
ID: 10844007
all right! this is awesome, i thought the answer would be rather simple. Thanks guys, I will try this out soon and then give credit where credit is due. THanks!!!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now