Click or drag to resize
SessionHelperSetValue Method (String, Object, Boolean)
Sets the session value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void SetValue(
	string key,
	Object value,
	bool allowVirtualContext
)

Parameters

key
Type: SystemString
Item key
value
Type: SystemObject
Value
allowVirtualContext
Type: SystemBoolean
If true, the value is set even when virtual context is initialized
See Also