Share via


DeleteCookieContext Class

Definition

Context for OnDeleteCookie that allows changes to the cookie prior to being deleted.

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

Constructors

DeleteCookieContext(HttpContext, CookieOptions, String)

Initializes a new instance of DeleteCookieContext.

Properties

Context

Gets the HttpContext.

CookieName

Gets or sets the cookie name.

CookieOptions

Gets the CookieOptions.

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 deleted. If set to false, cookie deletion is suppressed.

Applies to