CookieHelper..::..RemoveCookie Method (HttpContext, String, String)
Removes a single value from a cookie or the whole cookie (if keyName is null)
Namespace:
AdvantageCMS.Core.UtilsAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
public static void RemoveCookie( HttpContext context, string cookieName, string domain )
Parameters
- context
- Type: HttpContext
The context.
- cookieName
- Type: String
Cookie name to remove (or to remove a KeyValue in)
- domain
- Type: String
cookie domain (required if you need to delete a .domain.it type of cookie)