Solved

Auto page refresh

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
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 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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

786 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