这种要求会变成一个死循环, 你还是强制客户端不缓存页面吧:
HTML
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Mon, 23 Jan 1978 20:52:30 GMT">
ASP
<%
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
%>
HTML
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Mon, 23 Jan 1978 20:52:30 GMT">
ASP
<%
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.cachecontrol = "no-cache"
%>
解决方案 »
- 关于 $("img",$self).attr("src","images/down.gif"); 这句话的疑问
- js 自定date对象getSecond不变问题
- js 提交数据到数据库
- 在火狐下怎么跳转
- <iframe>中的文件可以操作其父页面的元素吗?
- 百思不得其解,IE浏览器不发送cookie,其它浏览器都没问题!
- 怎样实现新闻的动态滚动显示呢,求教了!
- JavaScript如何删除动态添加的OPTGROUP 急!急!急!
- 关于ACTIVEX的问题,怎么试也不行啊,请大家帮忙分析一下吧
- 希望获得高手帮助
- 请教高手关于showModalDialog()的问题
- 网站上会员注册都会出现验证码,这个有什么作用,又是如何实现的?
拜你为师行不?
<head><title> +--沙虫工作室--+ </title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="杀虫双,沙虫,沙虫o0,[email protected],qq6451990,[email protected]">
<meta name="Author" content="杀虫双,沙虫,沙虫o0,[email protected],qq6451990,[email protected]">
<meta name="Keywords" content="杀虫双,沙虫,沙虫o0,三湘热线,网盟,域名,企业,主机租用,网站建设,脚本开发,电子邮件,空间,论坛,资源,源码,源程序,虚拟主机,技术,网站评测,付费广告,htm,asp,sql,mssql">
<meta name="Description" content="杀虫双,沙虫,沙虫o0,提供企业网站建设,网络程序开放,平面设计的专业服务"><link rel="stylesheet" href="" type="text/css">
</head><body bgcolor="#FFFFFF" onload="refresh()">
<script language="JavaScript">
<!--
function refresh(){
refreshed = location.search
alert(!refreshed)
if(!refreshed)document.location=document.location+'?1'
}
//-->
</script>
</body>
</html>