cancel
Showing results for 
Search instead for 
Did you mean: 

What are the valid arguments for setting SQL_ATTR_SESSION_TIMEOUT in Hana ODBC connection handle?

Former Member
0 Kudos

Hi

What are the valid and default arguments that can be set for SQL_ATTR_SESSION_TIMEOUT while creating a connection to Hana DB using ODBC driver?

I tried the following and it did not work, as my connection died after a few minutes.
Is there any other setting that I need to change on the Hana Instance to increase the session timeout?

SQLSetConnectAttr(_hdbc, SQL_ATTR_SESSION_TIMEOUT, (SQLPOINTER)(86400), SQL_IS_UINTEGER);

Thanks
Suman

lbreddemann
Active Contributor
0 Kudos

Please choose tags fitting to your question. Including tags not related to the topic does only increase the noise but lowers your chances for getting an answer.

Accepted Solutions (0)

Answers (0)