php no-cache still not working?

kolibrizas

New member
session_cache_limiter('nocache');
header("Pragma: no-cache");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");

echo '<html>
<head>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<META HTTP-EQUIV="Cache-Control" content="no-store">
</head>....';

and on login it still gives the old data, not automatically fetching the new one.. After refresh everything becomes up to date. What am I doing wrong?
 
Back
Top