不使用IE的缓存!
不使用IE的缓存!
1.
Internet选项-->常规-->Internet临时文件中"设置"-->每次访问此页时检查.
最好同时删除临时文件
2.
只要在aspx.cs代码的Page_Load事件中加上
Context.Response.Cache.SetCacheability(HttpCacheability.NoCache);
<meta http-equiv="Pragma" content="no-cache"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<meta http-equiv="Expires" content="-1"/>
测试未知
Response.Headers.Add("Pragma", "no-cache");
Response.Headers.Add("Cache-Control", "no-cache");
Response.Headers.Add("Expires", 0);
浙公网安备 33010602011771号