HttpResponseBase.SetCookie Method (HttpCookie)
.NET Framework (current version)
Updates an existing cookie in the cookie collection.
Assembly: System.Web (in System.Web.dll)
abstract SetCookie : cookie:HttpCookie -> unit override SetCookie : cookie:HttpCookie -> unit
Parameters
- cookie
-
Type:
System.Web.HttpCookie
The cookie in the collection to be updated.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: