HttpResponseBase.AppendCookie Method (HttpCookie)

 

Adds an HTTP cookie to the HTTP response cookie collection.

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

public virtual void AppendCookie(
	HttpCookie cookie
)

Parameters

cookie
Type: System.Web.HttpCookie

The cookie to add to the response.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: