Refresh HTML Page in Browser Automatically on Timer - Every 15 Min Refresh HTML Page in Browser Automatically on Timer - Every 15 Min ajax ajax

Refresh HTML Page in Browser Automatically on Timer - Every 15 Min


Place this inside <head> to refresh page after 900 seconds:

<meta http-equiv="refresh" content="900"> <!-- Refresh every 15 minutes -->

For what it's worth, the w3c has officially deprecated this feature, but browsers continue to support this feature. For your purposes, this is an ideal solution. It's just not a recommended solution for "public" (www)-facing web sites any more.


window.setTimeout(function(){//refresh the page after 900,000 miliseconds (15 minutes)//reload the page (javascript has many ways of doing this)location.reload();},900000);

That should help.


You dont even need js to do this! Look at the refresh meta tag:http://webdesign.about.com/od/metataglibraries/a/aa080300a.htmYou can use this to refresh the page on any interval.