Solved

Auto refresh

Posted on 1998-10-20
2
198 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 20 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now