System.Web.HttpResponse.AppendCookie Method

Adds an HTTP cookie to the intrinsic cookie collection.

Syntax

public void AppendCookie (HttpCookie cookie)

Parameters

cookie
The System.Web.HttpCookie to add to the output stream.

Remarks

This is equivalent to: Response.Cookies.Add (cookie).

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0