using System;
using System.Collections.Generic;
namespace WcfControlMonitorWebLib
{
///
/// 会话
///
internal class WebSession
{
///
/// 仓库
/// (这个原本是存在 Redis 的,也可以存数据库里;这里存在内存,程序重启后会丢失,导致所有登录的界面过期)
///
internal static IDictionary Store { get; } = new Dictionary();
///
/// 值
/// (即用户名)
///
internal string Value { get; set; }
///
/// 时间戳
/// (每次发生数据交互后会更新为当前时间)
///
internal DateTime Timestamp { get; set; }
}
}