Export (0) Print
Expand All

WebHttpRelayBinding.AllowCookies Property

Gets or sets a value that specifies whether cookies are allowed in the messages sent via the WebHttpRelayBinding.

Namespace:  Microsoft.ServiceBus
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public bool AllowCookies { get; set; }

Property Value

Type: System.Boolean
Returns true if cookies are allowed; otherwise, false. The default value is false.

This property is provided as a convenience for using cookies included in HTTP headers. When the client accepts cookies by setting the property to true, cookies returned from the server are automatically copied to all future client requests to that service.

Community Additions

© 2014 Microsoft