Sets a custom State variable.
[Visual Basic]
Public Shared Sub SetCustom( _
ByVal
name As
String, _
ByVal
_value As
Object _
)
Parameters
-
name
- The name of the State variable.
-
_value
- The value of the State variable.
Remarks
A custom state variable is stored in the Session object under the name "SC_CUSTOM_" + name.
See Also
State Class | Sitecore.Configuration Namespace | GetCustom