System.Net.HttpClientComponent.TNetHTTPClient.AllowCookies
Delphi
property AllowCookies: Boolean read GetAllowCookies write SetAllowCookies default True;
C++
__property bool AllowCookies = {read=GetAllowCookies, write=SetAllowCookies, default=1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | System.Net.HTTPClientComponent.pas System.Net.HTTPClientComponent.hpp |
System.Net.HttpClientComponent | TNetHTTPClient |
Description
Cookies policy that the client uses.
If AllowCookies property is False
, the client does not accept cookies from the server.
Note: Even if the AllowCookies property is
False
the cookies in the cookie manager are sent to the server.