SessionHelper Class | Helper帮助文档 |
Session操作类
Inheritance Hierarchy
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class SessionHelper
Public Class SessionHelper
public ref class SessionHelper
type SessionHelper = class end
The SessionHelper type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | SessionHelper | Initializes a new instance of the SessionHelper class |
Methods
Name | Description | |
---|---|---|
![]() ![]() | Add(String, String) |
添加Session,调动有效期为20分钟
|
![]() ![]() | Add(String, String, Int32) |
添加Session
|
![]() ![]() | AddStrArray(String, String) |
添加Session,调动有效期为20分钟
|
![]() ![]() | AddStrArray(String, String, Int32) |
添加Session
|
![]() ![]() | Delete |
删除某个Session对象
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() ![]() | Get |
根据session名获取session对象
|
![]() | GetHashCode | (Inherited from Object.) |
![]() ![]() | GetStr |
读取某个Session对象字符串值
|
![]() ![]() | GetStrArray |
读取某个Session对象值数组
|
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() ![]() | Set |
设置session
|
![]() | ToString | (Inherited from Object.) |
See Also