AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

CookieHelper..::..RemoveCookie Method (HttpContextWrapper, String, String)

Removes the entire cookie from the response.

Namespace:  AdvantageCMS.Core.Utils
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static void RemoveCookie(
	HttpContextWrapper context,
	string cookieName,
	string domain
)

Parameters

context
Type: HttpContextWrapper
The context wrapper.
cookieName
Type: String
Cookie name to remove.
domain
Type: String
Cookie domain (required if you need to delete a .domain.it type of cookie).