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

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

Web - How do you refresh a web page every time a user pulls it up on their compuer

If a web page is stored on a user's local PC, what is the code used to refresh the local copy every time the user pulls the web page from the internet?
0
SharonInGeorgia
Asked:
SharonInGeorgia
2 Solutions
 
DmitriiconsultantCommented:
Are you speaking about cached pages?

To reload the cached pages you can use following META tags:

<meta http-equiv="Pragma" content="no-cache">

<meta http-equiv="cache-control" content="no-store,no-cache,must-revalidate">
<meta http-equiv="cache-control" content="post-check=0,pre-check=0,false">
<meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT" />

(In the last directive use the date in the past)


In fact those META's are equivalents of corresponding HTTP headers, which can be send by server directives.
0
 
ShermanKeithCommented:
For Internet Explorer Choose Tools / Internet Options/ Settings.   then make sure that "Every Visit to the Page" is selected.
0
 
SharonInGeorgiaAuthor Commented:
This was a question for a friend working on a volunteer project.  I have not heard back from him on his progress so I split the points.  Hope thats OK for each of you.  Thanks for your suggestions!!!
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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