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

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

            #endregion
        }
コード例 #2
0
ファイル: shortcut.aspx.cs プロジェクト: object8421/ichari
        private void UpdateCache_Click(object sender, EventArgs e)
        {
            #region 更新所有缓存

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

            #endregion
        }