Response.Expires = -1意思

Response.Expires = -1是什么意思啊

Response.expires 该属性指定了在浏览器上缓冲存储的页,距过期还有多少时间

1、在Asp页面首部加入Response.Buffer = True Response.ExpiresAbsolute = Now() – 1 Response.Expires = 0 Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "No-Cache"2、在HtML代码中加入<HEAD><META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"><META HTTP-EQUIV="Expires" CONTENT="0"></HEAD>3、在重新调用原页面的时候在给页面传一个参数Href="****.asp?random()"4、<body onLoad="javascriptocument.yourFormName.reset()">5、Content.Response.Cache.SetCacheability(HttpCaxheability,NoCache);

而只有在充满了艰辛的人生旅途中,

Response.Expires = -1意思

相关文章:

你感兴趣的文章:

标签云: