NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ClientProtocol.EnableCookies

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);

Property Value

true to handle cookies received from the server; otherwise, false. The default is true.

Remarks

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.

See Also

ClientProtocol Class | ClientProtocol Members | System.Web.Services.Protocols Namespace