SessionHelper Class

HD.Common

SessionHelper Class Helper帮助文档
Session操作类
Inheritance Hierarchy

SystemObject  HD.CommonSessionHelper

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

  NameDescription
Public methodSessionHelper
Initializes a new instance of the SessionHelper class
Top
Methods

  NameDescription
Public methodStatic memberAdd(String, String)
添加Session,调动有效期为20分钟
Public methodStatic memberAdd(String, String, Int32)
添加Session
Public methodStatic memberAddStrArray(String, String)
添加Session,调动有效期为20分钟
Public methodStatic memberAddStrArray(String, String, Int32)
添加Session
Public methodStatic memberDelete
删除某个Session对象
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodStatic memberGet
根据session名获取session对象
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetStr
读取某个Session对象字符串值
Public methodStatic memberGetStrArray
读取某个Session对象值数组
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberSet
设置session
Public methodToString (Inherited from Object.)
Top
See Also

Reference