# kx-platform timeout config

**URL:** <https://forum.kx.com/t/kx-platform-timeout-config/13704>\
**Category:** Community Support\
**Tags:** imported, other\
**Created:** [December 13, 2021, 12:00am UTC](https://forum.kx.com/t/kx-platform-timeout-config/13704 "2021-12-13T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leguan](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@leguan](https://forum.kx.com/u/leguan)\
**Post date:** [December 13, 2021, 12:00am UTC](https://forum.kx.com/t/kx-platform-timeout-config/13704/1 "2021-12-13T00:00:00Z")

</div>

[https://learninghub.kx.com/forums/topic/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

---

<div class="post-metadata">

**Author:** ![lkerr2](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/lkerr2/32/57_2.png) [@lkerr2](https://forum.kx.com/u/lkerr2)\
**Post date:** [December 13, 2021, 12:00am UTC](https://forum.kx.com/t/kx-platform-timeout-config/13704/2 "2021-12-13T00:00:00Z")

</div>

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](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](https://code.kx.com/platform/menus/#help") menu within the platform.

Hope this helps!

Thanks,

Laura
