Click here to Skip to main content
16,009,057 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Everyone,

I am having an issue, i want to be able to reload webpage at every ten minutes, i have searched the internet i only got this code:

HTML
<meta http-equiv="refresh" content="600">


The above code works for me, but it refreshes the page only when the page has been opened in a browser.

i want to be able to do this even when the page has not been opened. using C#.

Please any idea on how to achieve this?
Posted
Updated 24-Apr-14 22:18pm
v2

1 solution

Example For 5 seconds:
JavaScript
setTimeout(function(){
   window.location.reload(1);
}, 5000);
 
Share this answer
 
v2
Comments
Uwakpeter 25-Apr-14 4:40am    
this will still require the page to be opened before it reloads.
Ajith K Gatty 25-Apr-14 6:19am    
Page should load first. then only you can reload it. Guess you are missing something.
Sanket Saxena 25-Apr-14 4:48am    
Explain the word "Without open the page"
Uwakpeter 25-Apr-14 4:54am    
i want the page to be automatically reloading once it is published to production server, the one i did earlier, only reloads when the page has been loaded once on a browser.
Thanks7872 25-Apr-14 5:29am    
So you are saying that you are sitting at your system,looking at monitor,there was nothing and suddenly after say 5mins,your webpage gets loaded?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900