SessionHelperSetValue Method |
Sets the session value.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static void SetValue(
string key,
Object value,
bool allowVirtualContext = false
)
Parameters
- key
- Type: SystemString
Item key - value
- Type: SystemObject
Value - allowVirtualContext (Optional)
- Type: SystemBoolean
If true, the value is set even when virtual context is initialized
See Also