ASP.NET页面防止刷新

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

你可能感兴趣的:(asp.net)