Why this error is happening? Code is as follows:
<?php
header('Cache-Control:no-cache,must-revalidate,max-age=0');
?>
Why this error is happening? Code is as follows:
<?php
header('Cache-Control:no-cache,must-revalidate,max-age=0');
?>
You can try following:
<?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");
?>
Note that the exact headers used will depend on your needs (and if you need to support HTTP 1.0 and/or HTTP 1.1)