SessionHelperAdd Method (String, String, Int32) | Helper帮助文档 |
添加Session
Namespace: HD.Common
Assembly: HD.Common (in HD.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void Add( string strSessionName, string strValue, int iExpires )
Public Shared Sub Add ( strSessionName As String, strValue As String, iExpires As Integer )
public: static void Add( String^ strSessionName, String^ strValue, int iExpires )
static member Add : strSessionName : string * strValue : string * iExpires : int -> unit
Parameters
- strSessionName
- Type: SystemString
Session对象名称 - strValue
- Type: SystemString
Session值 - iExpires
- Type: SystemInt32
调动有效期(分钟)
See Also