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

System.Web.HttpResponse.Cookies Property

The Cookies that will be sent back to the client.

public HttpCookieCollection Cookies { get; }

Value

A collection with all the cookies being sent back to the client.

Remarks

This starts empty and the developer can add one or more cookies to the response.

C# Example

      Response.Cookies.Add (new HttpCookie ("username", "miguel"));
  

Requirements

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