HttpCookieCollection.Remove Method (String)
.NET Framework (current version)
Removes the cookie with the specified name from the collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
The name of the cookie to remove from the collection.
If a cookie with the specified name does not exist in the collection, no exception is thrown.
.NET Framework
Available since 1.1
Available since 1.1
Show: