AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

CookieHelper Members

Methods


  Name Description
Public method Static member CookieExist(HttpContext, String, String)
Cookies the exist.
Public method Static member CookieExist(HttpContextWrapper, String, String)
Cookies the exist.
Public method Static member GetCookieDomain(HttpContext)
Gets the cookie domain.
Public method Static member GetCookieDomain(HttpContextWrapper)
Gets the cookie domain.
Public method Static member GetFromCookie(HttpContext, String, String)
Retrieves a single value from Request.Cookies
Public method Static member GetFromCookie(HttpContextWrapper, String, String)
Retrieves a single value from Request.Cookies
Public method Static member GetFromCookie(HttpContext, String)
Retrieves a single value from Request.Cookies
Public method Static member GetFromCookie(HttpContextWrapper, String)
Retrieves a single value from Request.Cookies
Public method Static member RemoveCookie(HttpContext, String, String, String)
Removes a single value from a cookie or the whole cookie (if keyName is null)
Public method Static member RemoveCookie(HttpContextWrapper, String, String, String)
Removes a single value from a cookie or the whole cookie (if keyName is null)
Public method Static member RemoveCookie(HttpContext, String, String)
Removes a single value from a cookie or the whole cookie (if keyName is null)
Public method Static member RemoveCookie(HttpContextWrapper, String, String)
Removes a single value from a cookie or the whole cookie (if keyName is null)
Public method Static member StoreInCookie(HttpContext, String, String, String, String, String, Nullable<(Of <<'(DateTime>)>>), Nullable<(Of <<'(Boolean>)>>), SameSiteMode, Boolean)
Stores a value in a user Cookie, creating it if it doesn't exists yet.
Public method Static member StoreInCookie(HttpContextWrapper, String, String, String, String, String, Nullable<(Of <<'(DateTime>)>>), Nullable<(Of <<'(Boolean>)>>), SameSiteMode, Boolean)
Stores a value in a user Cookie, creating it if it doesn't exists yet.
Public method Static member StoreInCookie(HttpContextWrapper, String, String, String, String, Nullable<(Of <<'(DateTime>)>>), Nullable<(Of <<'(Boolean>)>>), SameSiteMode, Boolean)
Stores a value in a user Cookie, creating it if it doesn't exists yet.
Public method Static member StoreInCookie(HttpContext, String, String, String, String, Nullable<(Of <<'(DateTime>)>>), Nullable<(Of <<'(Boolean>)>>), SameSiteMode, Boolean)
Stores a value in a user Cookie, creating it if it doesn't exists yet.
Public method Static member StoreInCookie(HttpContext, String, Dictionary<(Of <<'(String, String>)>>), String, String, Nullable<(Of <<'(DateTime>)>>), Nullable<(Of <<'(Boolean>)>>), SameSiteMode, Boolean)
Stores multiple values in a Cookie using a key-value dictionary, creating the cookie (and/or the key) if it doesn't exists yet.
Public method Static member StoreInCookie(HttpContextWrapper, String, Dictionary<(Of <<'(String, String>)>>), String, String, Nullable<(Of <<'(DateTime>)>>), Nullable<(Of <<'(Boolean>)>>), SameSiteMode, Boolean)
Stores multiple values in a Cookie using a key-value dictionary, creating the cookie (and/or the key) if it doesn't exists yet.