test1.php has this code
开发者_JAVA技巧(
<?php
header("Cache-Control: no-cache");
header("Pragma: no-cache");
$a=date("D M Y ; h:m:s");
echo $a;
?>
<html>
<head>
<meta http-equiv='Pragma' content='no-cache'/>
<meta http-equiv='Expires' content='-1'/>
</head>
<a href="test2.php">tk</a>
</html>
)
then when i visit test1.php and move to test2.php then on pressing back button why is it not displaying the current time instead displaying the time i last visited it. its a simpler version of my previous problem
Your browser cached the previous response.
精彩评论