示例#1
0
        private void ResetAllCache_Click(object sender, EventArgs e)
        {
            #region 更新所有缓存

            if (this.CheckCookie())
            {
                AdminCaches.ReSetAllCache();
                SubmitReturnInf();
            }

            #endregion
        }
示例#2
0
        private void UpdateCache_Click(object sender, EventArgs e)
        {
            #region 更新所有缓存

            if (this.CheckCookie())
            {
                AdminCaches.ReSetAllCache();
                base.RegisterStartupScript("PAGE", "window.location.href='shortcut.aspx';");
            }

            #endregion
        }