Refresh pages on load

windows

Guest
Hi.<br />
<br />
This is probably very basic but I can't find the answer. I did search the generators on this site but might have missed it...<br />
<br />
What do I need to add to my code to get the page to refresh everytime it opens? Seems that when I upload changes to the pages on my site they do not appear unless I manually hit the refresh button. I would like to not have to worry that the pages being seen on my site are the most current.<br />
<br />
Thanks for any assistant!<br />
<br />
Beth<!--content-->use an http header, if you can, to tell the browser to not read from cache and Download <!--more--> the new version. A refresh on load is not only not going to work but it is impractical. It could work if you did that refresh server side, but then it would also be annoying.<!--content-->u can use this meta tag:<br />
<br />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><br />
<br />
but if you are on your page, make some update and then re-check your page, it's sure that you need to refresh your page<br />
<br />
turb<!--content-->Originally posted by turb <br />
u can use this meta tag:<br />
<br />
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><br />
<br />
but if you are on your page, make some update and then re-check your page, it's sure that you need to refresh your page<br />
<br />
turb doing it with a meta tag is not going to work as well as if you used a header, from what I have seen those meta tags get ignored, I could be wrong about that, but I know a header will work better, also because meta tags are just not supported by some browsers all together and can be disabled.<!--content-->...sorry to have to ask but can you give me a clue as to what to put in the header... :)<!--content-->this thrad was just active the other day<br />
<!-- m --><a class="postlink" href="http://www.webdeveloper.com/forum/showthread.php?s=&threadid=33941&perpage=15&pagenumber=1">http://www.webdeveloper.com/forum/showt ... genumber=1</a><!-- m --> vladdy covered that one well. You could have got your question answered in minutes if you would have done a search :p<!--content-->Wow, since I JUST joined last night, a 'couple of days ago' wouldn't have helped. And I did do searches ... many. Thanks for the link to the thread because obviously I was searching on the wrong words even though I was searching on load, reload, refresh, et. al. <br />
<br />
Thanks for your help.<!--content-->
 
Back
Top