CookieHelper..::..RemoveCookie Method (HttpContextWrapper, 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( HttpContextWrapper context, string cookieName, string domain )
Parameters
- context
- Type: HttpContextWrapper
The context wrapper.
- 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)