.net不让浏览器缓存

//不让浏览器缓存
context.Response.Buffer = true;
context.Response.ExpiresAbsolute
= DateTime.Now.AddDays(-1);
context.Response.AddHeader(
"pragma", "no-cache");
context.Response.AddHeader(
"cache-control", "");
context.Response.CacheControl
= "no-cache";
context.Response.ContentType
= "text/plain";
posted @ 2011-05-10 18:25  ╰☆Everytime I try to flying  阅读(315)  评论(0编辑  收藏  举报