#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里面