Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Cookie Constructor

Cookie Constructor

Initializes a new instance of the Cookie class, conforming to the Netscape specification. In general, an application does not need to construct a Cookie class because it is created automatically based on the Set-Cookie header received with the HTTP response.

Name Description
Cookie () Initializes a new instance of the Cookie class.
Cookie (String, String) Initializes a new instance of the Cookie class with a specified Name and Value.
Cookie (String, String, String) Initializes a new instance of the Cookie class with a specified Name, Value, and Path.
Cookie (String, String, String, String) Initializes a new instance of the Cookie class with a specified Name, Value, Path, and Domain.

Community Additions

ADD
Show:
© 2015 Microsoft