Example #1
0
        /// <summary>
        ///     退出
        /// </summary>
        internal static void LoginOut()
        {
            IUserOnline oline = new UserOnline();

            // oline.RemoveUser(UserInfo.UID);

            HttpContext.Current.Session.Clear();
            HttpContext.Current.Session.Abandon();
        }
Example #2
0
        public static void Set_MEMBER_ID(decimal UID)
        {
            IUserOnline oline = new UserOnline();

            oline.AddUser(new OnlineUserInfo {Uid = UID, LASTActive = DateTime.Now});
        }