View Source
Interface ICookieManager
Assembly: Umbraco.Core.dll
Syntax
public interface ICookieManager
Methods
View Source
ExpireCookie(String)
Declaration
void ExpireCookie(string cookieName)
Parameters
Type |
Name |
Description |
System.String |
cookieName |
|
View Source
GetCookieValue(String)
Declaration
string GetCookieValue(string cookieName)
Parameters
Type |
Name |
Description |
System.String |
cookieName |
|
Returns
Type |
Description |
System.String |
|
View Source
HasCookie(String)
Declaration
bool HasCookie(string cookieName)
Parameters
Type |
Name |
Description |
System.String |
cookieName |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
SetCookieValue(String, String)
Declaration
virtual void SetCookieValue(string cookieName, string value)
Parameters
Type |
Name |
Description |
System.String |
cookieName |
|
System.String |
value |
|
View Source
SetCookieValue(String, String, Boolean)
Declaration
void SetCookieValue(string cookieName, string value, bool httpOnly)
Parameters
Type |
Name |
Description |
System.String |
cookieName |
|
System.String |
value |
|
System.Boolean |
httpOnly |
|