Appearance
DeleteCookie Method
Definition
- Namespace:
JASE.Extensions - Assembly:
JASE.Web.dll
void DeleteCookie(HttpContext context, string key, CookieOptions options = null, CookieManager cookieManager = null)
csharp
void DeleteCookie(HttpContext context, string key, CookieOptions options = null, CookieManager cookieManager = null)Deletes a response cookie, including all chunked segments when present on the request.
Parameters
| Name | Description |
|---|---|
context | The current HTTP context. |
cookieManager | Optional CookieManager instance; when omitted, a default manager is used. |
key | Cookie name. |
options | Cookie options; when null, a new CookieOptions instance is used. |