Adjusting the Qlik Sense Engine TTLArticle Number: 000051859 | Last Modified: 2019/01/17
In practice, this means that when a browser refresh occurs in Qlik Sense, the user will create a new session. When inspecting the frames of the websocket traffic to the Engine, an administrator will see SESSION_CREATED signaling that the Engine is creating a new session. Like so:
(screenshot from Chrome's Developer Tools which allows inspection of the frames of websocket connections)
There are scenarios where an administrator would prefer to keep sessions open for extended periods of time due to the response time of the Engine when creating a new session versus using an existing session and this article will outline how to accomplish this. This approach requires adjusting the time to life (TTL) settings for the Qlik Sense Engine.
- Qlik Sense November 2017
- Qlik Sense February 2018
- Qlik Sense April 2018
- Use the schema outlined in How to modify Qlik Sense Engine's Settings.ini
- For this change in behavior there are two key / value pairs to change:
An example Settings.ini file with TTL enabled for 30 seconds is:
When inspecting Chrome's Dev Tools on a browser refresh, we see this response:
- The key may change slightly between builds
- For example SessionTTL becomes TTLSeconds
- Monitor RAM usage since this will increase the session cache of the Engine process, albeit marginally
Have a Question?
Search Qlik's Support Knowledge database or request assisted support for highly complex issues.Submit a case
Experiencing a serious issue, please contact us by phone. View phone numbers and hours by region.