Browser page caching

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mauriciosr
Forum Newbie
Posts: 1
Joined: Mon Oct 31, 2005 7:32 am

Browser page caching

Post by mauriciosr »

Morning guys, this is my first post and I start making questions :oops: I'm new ni PHP so I don't know if is a hard or easy but here is:

I've this code to allways show a refresh page version when a user click the back button:

Code: Select all

header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
	header('Cache-Control: no-store, no-cache, must-revalidate');
	header('Cache-Control: post-check=0, pre-check=0', FALSE);
	header('Pragma: no-cache');[
The code is working ok with Internet Explorer, but in Firefox dosen't work. Any Idea on how to solve this problem?
Post Reply