开发者

back button not reloading page

开发者 https://www.devze.com 2023-01-14 17:32 出处:网络
test1.php has this code 开发者_JAVA技巧( <?php header(\"Cache-Control: no-cache\"); header(\"Pragma: no-cache\");

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消