[Webinar] Streamline your web hosting managementRegister Today

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

Auto refresh

I have a message board that I'm using but whenever somebody posts a follow-up and they come back to the main page, they do not see their message because they page is being view from the cache and they end up posting like 3 or 4 responses.  How can I make the page load everytime rather that it coming from the cache?
0
SirCaleb
Asked:
SirCaleb
1 Solution
 
Michel PlungjanIT ExpertCommented:
put the following in the head of your page:

<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
</HEAD>

or if the page is generated by a cgi, output the corresponding HTTP headers:
Pragma: no-cache
Expires: 0

Michel
0
 
SirCalebAuthor Commented:
Awesome...thanks.
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

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