kx-platform timeout config

https://learninghub.kx.com/forums/topic/kx-platform-timeout-config

Hello Everyone,

I would like to trouble you with:

  1. What does config “HARD_SESSION_TIMEOUT_MS” in delta.profile control?

  2. What does config “SOFT_SESSION_TIMEOUT_MS” in delta.profile control?

based on my experience, seems that this one determines how soon a connection would be closed if it stays in ideal, and it applies both on IPC and web-App connections. Pls correct me if it is wrong.

  1. I would like to keep web-app session logged on without auto-log-off , how to achieve this?

change “soft…” = 0 ? would this change the behavior of IPC or other remote socket connections as well ?

thank you !

leguan

Hi leguan,

Thank you for the questions!

  1. HARD_SESSION_TIMEOUT_MS is the maximum time a session can last

  2. SOFT_SESSION_TIMEOUT_MS is the maximum time between requests

More information on those configurations can be found here: https://code.kx.com/platform/kx_connect/#session-management

You may be able to extend the maximum time of the session by changing the HARD_SESSION_TIMEOUT_MS config.

Something to note: Documentation is shipped with all installs and can be found in the help menu within the platform.

Hope this helps!

Thanks,

Laura