skip to main content
Connection Option Descriptions : Cookie Name
  

Try DataDirect Drivers Now

Cookie Name

Attribute

CookieName (CN)

Purpose

Specifies the name of the cookie used for authenticating HTTP requests when HTTP mode (TransportMode=1) and session cookie based authentication are enabled (EnableCookieAuthentication=1). When preparing an HTTP request to the server, the driver will not attempt to reauthenticate if a valid cookie is present.

Valid Values

string
where:
string
is a valid cookie name.

Default

If no value is specified, the driver attempts to use the following cookie names by default:
*hive.server2.auth (Hive connections)
*hadoop.auth (Apache Knox connections)
*JSESSIONID (Apache Knox connections)

Notes

*If the driver is operating in binary mode (TransportMode=0) or cookie based authentication (EnableCookieAuthentication=0) is disabled, this option is ignored.

GUI Tab

General tab

See also

*Transport Mode
*Enable Cookie Authentication
*Authentication Method