XHtmlOptions NoCookie Property. Whether to disable automatic cookies. ABCpdf .NET PDF Library.

ABCpdf .net

 
   

 

Type Default Value Read Only Description
[C#] bool

[Visual Basic]
Boolean
false No Whether to disable automatic cookies.

 

   

Notes
 

This property determines whether automatic cookies are disabled. If it is true, PageLoadMethod must be effectively MonikerForHtml.

The HTML engine manages cookies as it receives HTTP/HTTPS responses and sends HTTP/HTTPS requests. If this property is set to true, cookies stored in the local cookie database will not be sent in requests, and cookies received in responses will not be stored in the local cookie database.

Cookies specified in HttpAdditionalHeaders are not sent in requests if automatic cookies are enabled. Set this property to true if cookies are specified in HttpAdditionalHeaders.

 

   

Example
 

See the HttpAdditionalHeaders property.