Click or drag to resize
CacheSession Class
缓存式会话信息
Inheritance Hierarchy
SystemObject
  Adf.WebCacheSession

Namespace: Adf.Web
Assembly: Adf.Web (in Adf.Web.dll) Version: 4.1.5463.29815
Syntax
public abstract class CacheSession

The CacheSession type exposes the following members.

Constructors
  NameDescription
Protected methodCacheSession
Initializes a new instance of the CacheSession class
Top
Methods
  NameDescription
Public methodCheck
检查查询是否符合
Public methodEquals
确定指定的 Object 是否等于当前的 Object
(Inherited from Object.)
Protected methodFinalize
允许 Object 在“垃圾回收”回收 Object 之前尝试释放资源并执行其他清理操作。
(Inherited from Object.)
Public methodGetHashCode
用作特定类型的哈希函数。
(Inherited from Object.)
Public methodGetType
获取当前实例的 Type
(Inherited from Object.)
Public methodLogin
登录
Public methodLogout
使用当前登录帐户登出
Public methodLogout(Int64)
登出
Protected methodMemberwiseClone
创建当前 Object 的浅表副本。
(Inherited from Object.)
Public methodStatic memberNewFlag
工具方法,构建一个新的Flag
Protected methodOnCookie
写Cookie时
Protected methodReadCache
登录读缓存
Protected methodRemoveCache
移除缓存
Protected methodRemoveCookie
登录写Cookie
Public methodToString
返回表示当前 ObjectString
(Inherited from Object.)
Protected methodWriteCache
登录写缓存
Protected methodWriteCookie
登录写Cookie
Top
Properties
  NameDescription
Public propertyCacheMinutes
默认缓存器过期分钟数,默认 5 当缓存器过期通过check接口检查通过后会重建缓存 若此值为零则无缓存,每次登录验证均由check检查
Public propertyCookieName
会话客户端存储名,默认为 sess
Public propertyId
标识
Public propertyIsLogin
是否已登录
Top
Remarks
一般在分布式布局中使用此类代替系统默认的SESSION,处理多机session同步问题
See Also