#region "设置不缓存网页"
    /// <summary>
    /// 设置不缓存网页

    /// </summary>
    public static void SetNoWebCache()
    {
        HttpContext.Current.Response.Cache.SetNoServerCaching();
        HttpContext.Current.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);
        HttpContext.Current.Response.Cache.SetNoStore();
        HttpContext.Current.Response.Cache.SetExpires(new DateTime(1900, 01, 01, 00, 00, 00, 00));
    }
    #endregion 

 

模式对话框缓存清楚办法,放在page_load里面

相关文章:

  • 2021-08-22
  • 2022-01-25
  • 2022-01-30
  • 2021-09-04
  • 2021-07-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-30
  • 2022-01-26
  • 2021-12-30
  • 2022-12-23
  • 2021-07-11
相关资源
相似解决方案