예제 #1
0
 /// <summary>
 /// 清除缓存
 /// </summary>
 public static void ClearCookies()
 {
     try
     {
         int userid = Convert.ToInt32(CookieHelper.GetCookieVal("SHOPID"));
         CookieHelper.DelCookieValByCurrentDomain(GetAdminUserCookieKey(userid));
         CookieHelper.DelCookieValByCurrentDomain("SHOPID");
     }
     catch (Exception)
     {
     }
 }