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