/// <summary> /// Application Start /// </summary> protected void Application_Start(object sender, EventArgs e) { Application["Ext.Net.LicenseKey"] = "OTUxNzMyNzksMiw5OTk5LTEyLTMx"; com.ultrapower.casp.client.LoginUtil.getInstance().init(); var thread = new System.Threading.Thread(() => { while (true) { WebUtility.ClearInvalidCaches(); System.Threading.Thread.Sleep(1000 * 10); } }); thread.IsBackground = true; thread.Start(); }
/// <summary> /// Session Start /// </summary> protected void Session_Start(object sender, EventArgs e) { HttpContext.Current.Session["Status"] = "200Ok"; WebUtility.ClearInvalidCaches(); }
/// <summary> /// Session End /// </summary> protected void Session_End(object sender, EventArgs e) { WebUtility.ClearInvalidCaches(); }