WCF-Xtensions Class Reference for Mono
AllowCookies Property (SmartHttpBinding)






Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.
Syntax
'Declaration
 
Public Property AllowCookies As System.Boolean
'Usage
 
Dim instance As SmartHttpBinding
Dim value As System.Boolean
 
instance.AllowCookies = value
 
value = instance.AllowCookies
public System.bool AllowCookies {get; set;}
public read-write property AllowCookies: System.Boolean; 
public function get,set AllowCookies : System.boolean
public: __property System.bool get_AllowCookies();
public: __property void set_AllowCookies( 
   System.bool value
);
public:
property System.bool AllowCookies {
   System.bool get();
   void set (    System.bool value);
}

Property Value

true if the client accepts cookies and propagates them on future requests; otherwise, false. The default is false. true if cookies are allowed; otherwise, false. The default is false.
Remarks

You can use this attribute when you interact with ASMX Web services that use cookies. In this way, you can be sure that the cookies returned from the server are automatically copied to all future client requests for that service.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SmartHttpBinding Class
SmartHttpBinding Members

Send Feedback