Gets or sets a value indicating whether the cookies are automatically handled for requests and responses.
[Visual Basic] Public Property EnableCookies As Boolean [C#] public bool EnableCookies {get; set;} [C++] public: __property bool get_EnableCookies(); public: __property void set_EnableCookies(bool); [JScript] public function get EnableCookies() : Boolean; public function set EnableCookies(Boolean);
true to handle cookies received from the server; otherwise, false. The default is true.
Setting EnableCookies to true will automatically populate the cookie collection with any cookies returned from the server. These cookies will be included in requests that match the coookie's URI.
ClientProtocol Class | ClientProtocol Members | System.Web.Services.Protocols Namespace