Ejemplo n.º 1
0
        /// <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();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Session Start
 /// </summary>
 protected void Session_Start(object sender, EventArgs e)
 {
     HttpContext.Current.Session["Status"] = "200Ok";
     WebUtility.ClearInvalidCaches();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Session End
 /// </summary>
 protected void Session_End(object sender, EventArgs e)
 {
     WebUtility.ClearInvalidCaches();
 }