try this
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
?>
More Related Contents:
- Why would one omit the close tag?
- What’s the difference between Cache-Control: max-age=0 and no-cache?
- Create a CSV File for a user in PHP
- PHP file_get_contents() and setting request headers
- How to set HTTP header to UTF-8 using PHP which is valid in W3C validator
- Easy way to test a URL for 404 in PHP?
- Force file download with php using header()
- Does $_SERVER[‘HTTP_X_REQUESTED_WITH’] exist in PHP or not?
- How do I find the mime-type of a file with php?
- Return a PHP page as an image
- Show image using file_get_contents
- Caching HTTP responses when they are dynamically created by PHP
- Getting HTTP code in PHP using curl
- file_get_contents() give me 403 Forbidden
- Why am I getting mime-type of .csv file as “application/octet-stream”?
- Make IE cache the resources but always revalidate
- What is Cache-Control: private?
- How to send 500 Internal Server Error error from a PHP script
- Request headers bag is missing Authorization header in Symfony 2?
- How to get final URL after following HTTP redirections in pure PHP?
- How to use the CSV MIME-type?
- Prevent Back button from showing POST confirmation alert
- How can I set a cookie and then redirect in PHP?
- PHP cURL how to add the User Agent value OR overcome the Servers blocking cURL requests?
- Get “Content-Type” header of request in PHP
- Can I serve MP3 files with PHP?
- Is header(‘Content-Type:text/plain’); necessary at all?
- using header() to rewrite filename in URL for dynamic pdf
- Downloading a file with a different name to the stored name
- Content-length and other HTTP headers?