| CacheSession Class |
Namespace: Adf.Web
The CacheSession type exposes the following members.
| Name | Description | |
|---|---|---|
| CacheSession | Initializes a new instance of the CacheSession class |
| Name | Description | |
|---|---|---|
| Check |
检查查询是否符合
| |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode |
用作特定类型的哈希函数。
(Inherited from Object.) | |
| GetType |
获取当前实例的 Type。
(Inherited from Object.) | |
| Login |
登录
| |
| Logout |
使用当前登录帐户登出
| |
| Logout(Int64) |
登出
| |
| MemberwiseClone |
创建当前 Object 的浅表副本。
(Inherited from Object.) | |
| NewFlag |
工具方法,构建一个新的Flag
| |
| OnCookie |
写Cookie时
| |
| ReadCache |
登录读缓存
| |
| RemoveCache |
移除缓存
| |
| RemoveCookie |
登录写Cookie
| |
| ToString | (Inherited from Object.) | |
| WriteCache |
登录写缓存
| |
| WriteCookie |
登录写Cookie
|
| Name | Description | |
|---|---|---|
| CacheMinutes |
默认缓存器过期分钟数,默认 5
当缓存器过期通过check接口检查通过后会重建缓存
若此值为零则无缓存,每次登录验证均由check检查
| |
| CookieName |
会话客户端存储名,默认为 sess
| |
| Id |
标识
| |
| IsLogin |
是否已登录
|