Click or drag to resize
CookieHelperGetValue Method (String, Boolean, Boolean)
Returns the given cookie value.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string GetValue(
	string name,
	bool useDefaultValue,
	bool allowSensitiveData
)

Parameters

name
Type: SystemString
Cookie name to retrieve
useDefaultValue
Type: SystemBoolean
Indicates whether the registered cookie default value will be returned when the cookie is not present in the request
allowSensitiveData
Type: SystemBoolean
Allows retrieving data from sensitive authentication cookies

Return Value

Type: String
See Also