Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 971
  • Last Modified:

Auto page refresh

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
gregasm
Asked:
gregasm
2 Solutions
 
ihenryCommented:
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
 
iboutchkineCommented:

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
 
gregasmAuthor Commented:
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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now