SetCookie Method

HttpResponseBase.SetCookie Method (HttpCookie)

 

Updates an existing cookie in the cookie collection.

Namespace:   System.Web
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
Return to top
Show:
© 2016 Microsoft