HttpResponseBase.AppendCookie Method (HttpCookie)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds an HTTP cookie to the HTTP response cookie collection.

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

abstract AppendCookie : 
        cookie:HttpCookie -> unit
override AppendCookie : 
        cookie:HttpCookie -> unit

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: