skip to main content
Connection Option Descriptions : Enable Cookie Authentication
  

Try DataDirect Drivers Now

Enable Cookie Authentication

Attribute

EnableCookieAuthentication (ECA)

Purpose

Determines whether the driver attempts to use session 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

0 | 1

Behavior

If set to 0 (Disabled), the driver does not use cookie based authentication for HTTP requests after the initial authentication.
If set to 1 (Enabled), 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 Cookie Name option. If the name does not match, or authentication fails, the driver attempts to authenticate according to the setting of the Authentication Method option.

Notes

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

Default

1 (Enabled)

GUI Tab

General tab

See also

*Transport Mode
*Cookie Name
*Authentication Method