Solved

Auto refresh

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

929 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

13 Experts available now in Live!

Get 1:1 Help Now