AdvantageCMS.Core.Common.BaseClasses Namespace
AdvantageCMS.Core.Utils Namespace
Advantage CSP

CookieHelper..::..StoreInCookie Method

Overload List


  Name Description
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.