HttpResponseBase.SetCookie Method (HttpCookie)

 

Updates an existing cookie in the cookie collection.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public virtual void SetCookie(
	HttpCookie cookie
)

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: