清理客户端缓存

context.Response.ContentType = "text/plain"; 
            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";

以上是C#里面的代码、...

posted on 2012-12-09 16:19  和轩僮  阅读(275)  评论(0编辑  收藏  举报

导航