Example #1
0
        void CheckExpire(Object state)
        {
            var timeout = Setting.Current.SessionTimeout;

            //if (Svr != null) Svr.ClearExpire(timeout);
            DeviceOnline.ClearExpire(timeout);
            UserOnline.ClearExpire(timeout);
        }
Example #2
0
 /// <summary>清理超时会话</summary>
 /// <param name="secTimeout"></param>
 /// <returns></returns>
 public override Int32 ClearExpire(Int32 secTimeout) => UserOnline.ClearExpire(secTimeout).Count;