/// <summary>
    /// 不允许客户端缓存
    /// </summary>
    protected void DisablePageCache()
    {
        Response.Expires = 0;
        Response.Cache.SetNoStore();
        Response.AppendHeader("Pragma", "no-cache");
    }

 

相关文章:

  • 2021-09-06
  • 2022-12-23
  • 2021-07-21
  • 2021-04-09
  • 2021-08-02
  • 2022-01-13
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-01-07
相关资源
相似解决方案