1.使用新窗口打开联结,然后关闭父窗口
2.用cookie,如:
<script>
if(document.cookie!=""){
self.location="js_class.html"
}
else
document.cookie="old"
</script>
<a href="b.html">new page</a>
2.用cookie,如:
<script>
if(document.cookie!=""){
self.location="js_class.html"
}
else
document.cookie="old"
</script>
<a href="b.html">new page</a>
然后网页就会过期,然后就不行了
或者用js,翻翻以前的帖子
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Pragma: no-cache");