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

x
?
Solved

Auto refresh

Posted on 1998-10-20
2
Medium Priority
?
239 Views
Last Modified: 2013-12-25
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
Comment
Question by:SirCaleb
2 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 80 total points
ID: 1855874
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
 
LVL 2

Author Comment

by:SirCaleb
ID: 1855875
Awesome...thanks.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question