Click or drag to resize
SessionHelper.SetValue Method (String, Int32, Boolean)
Sets the session value.

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

Parameters

key
Type: System.String
Item key
value
Type: System.Int32
Value
allowVirtualContext (Optional)
Type: System.Boolean
If true, the value is set even when virtual context is initialized
See Also