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

            user.UserID = uid;
            StateChecker.RemoveOnlineUser(user);
        }
Exemplo 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);
        }