Mono Class Library: System.Web.HttpResponse Overview | Members

System.Web.HttpResponse.SetCookie Method

Appends the given cookie to the results that will be sent back to the client.

public void SetCookie (HttpCookie cookie)

Parameters

cookie
The cookie to add.

Remarks

The cookie is added to the list of cookies that will be sent back to the HTTP client.

Requirements

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