ASP.NET页面防止刷新

//防止刷新
        Response.AddHeader("Pragma", "No-Cache");
        Response.Buffer = true;
        Response.ExpiresAbsolute = DateTime.Now.AddSeconds(-1);
        Response.Expires = 0;
        Response.CacheControl = "no-cache";

posted on 2010-01-29 13:54  冬日阳光  阅读(494)  评论(0编辑  收藏  举报

导航