Cookie Name
- Last Updated: July 29, 2021
- 1 minute read
- DataDirect Connectors
- ODBC
- Apache Spark SQL 8.0
- Documentation
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
hive.server2.auth
Notes
- If the driver is operating in binary mode (
TransportMode=0) or cookie based authentication (EnableCookieAuthentication=0) is disabled, this option is ignored. - This options is supported only for User ID and Password authentication
(
AuthenticationMethod=0).