SessionHelper Methods

HD.Common

SessionHelper Methods Helper帮助文档

The SessionHelper type exposes the following members.

Methods

  Name Description
Public method Static member Add(String, String)
添加Session,调动有效期为20分钟
Public method Static member Add(String, String, Int32)
添加Session
Public method Static member AddStrArray(String, String)
添加Session,调动有效期为20分钟
Public method Static member AddStrArray(String, String, Int32)
添加Session
Public method Static member Delete
删除某个Session对象
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member Get
根据session名获取session对象
Public method GetHashCode (Inherited from Object.)
Public method Static member GetStr
读取某个Session对象字符串值
Public method Static member GetStrArray
读取某个Session对象值数组
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member Set
设置session
Public method ToString (Inherited from Object.)
Top
See Also

Reference