Esempio n. 1
0
        public void EmptyUser(string uid)
        {
            ISessionKey user = new ISessionKey();

            user.UserID = uid;
            StateChecker.RemoveOnlineUser(user);
        }
Esempio n. 2
0
        public void EmptyCurrent()
        {
            ISessionKey user = GetCallContextValue("FBState") as ISessionKey;

            if (user != null)
            {
                StateChecker.RemoveOnlineUser(user);
            }

            // 清除cookie
            SetCallContextValue("FBState", null);
            CookieHelper.DelCookie(SYSConstants.LoginJWTKey);
        }