skip to main content
Connection Property Descriptions : EnableCookieAuthentication
  

Try DataDirect Drivers Now

EnableCookieAuthentication

Purpose

Determines whether the driver attempts to use cookie based authentication for requests to an HTTP endpoint after the initial authentication to the server. Cookie based authentication improves response time by eliminating the need to re-authenticate with the server for each request.

Valid Values

true | false

Behavior

If set to true, the driver attempts to use cookie based authentication for requests to an HTTP endpoint after the initial authentication to the server. The cookie used for authentication is specified by the CookieName property. If the name does not match, or authentication fails, the driver attempts to authenticate according to the setting of the AuthenticationMethod property.
If set to false, the driver does not use cookie based authentication for HTTP requests after the initial authentication.

Notes

*If HTTP mode is disabled (TransportMode=binary), this option is ignored.

Data Source Method

setEnableCookieAuthentication

Default

true

Data Type

String

See also

*TransportMode
*CookieName
*AuthenticationMethod