Click or drag to resize
SessionHelperSetValue Method
Sets the session value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
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