Share via


AppendCookieContext Class

Definition

Context for OnAppendCookie that allows changes to the cookie prior to being appended.

public ref class AppendCookieContext
public class AppendCookieContext
type AppendCookieContext = class
Public Class AppendCookieContext
Inheritance
AppendCookieContext

Constructors

AppendCookieContext(HttpContext, CookieOptions, String, String)

Initializes a new instance of AppendCookieContext.

Properties

Context

Gets the HttpContext.

CookieName

Gets or sets the cookie name.

CookieOptions

Gets the CookieOptions.

CookieValue

Gets or sets the cookie value.

HasConsent

Gets a value that determines if cookie consent was provided.

IsConsentNeeded

Gets a value that determines if cookie consent is required before setting this cookie.

IssueCookie

Gets or sets a value that determines if the cookie can be appended. If set to false, the cookie is not appended.

Applies to