Solved

Auto page refresh

Posted on 2004-04-16
3
945 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

789 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