CookieHelperGetValue Method (String, Boolean, Boolean) |
Returns the given cookie value.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax 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:
StringSee Also