Click or drag to resize
SessionHelperSetValue Method (String, Decimal, 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,
	decimal value,
	bool allowVirtualContext = false
)

Parameters

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