Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
pedrohenriqueperna
Creator III
Creator III

Workaround to Increase Session Timeout - Qlik SaaS

Hi,

I've searched the internet about this subject and for what I understood, it is not possible to increase the default timeout for inactivity in Qlik SaaS.

I've built some dashboards to be displayed in a videowall, everything works fine. The connected server will turn on and off at a certain hour, open the browsers and navigate to each dashboard and it's great, except it will end the session after 30+- minutes.

I'm using python with Selenium to navigate to the dashboards and I know selenium has some functions to add cookies to the browser. Maybe that's a way to keep the session alive? By renewing the cookie or something like that? I'm far from an expert so i'm sorry if it sounds stupid.

Anyways, I need to keep the session alive. I could probably do it making the browser refresh or click something every x minutes, but maybe there's something more reliable that one could advice me.

Thanks in advance.

Labels (3)
5 Replies
seanbruton

I have seen this one before, not sure if Saas will treat it the same. Try this.

1. Make a copy of the app.

2. Get the app id from the original app. 

3. In the copy app in the start before main write binary [appid];

seanbruton_0-1730130632244.png

 

4. Make sure you exit script so you dont load data from the original script, Keep all variables 

5. Set a reload schedule every 25 min. this could reset the timer. as the page rest on reload data.

Leigh_Kennedy
Employee
Employee

Can you just have Selenium reload the page every 20 minutes?  Sessions end after 30 minutes of inactivity, not a fixed 30 minutes per session. Depending on your authentication method you may also need to consider that as well.

pedrohenriqueperna
Creator III
Creator III
Author

@seanbruton I ended up using selenium to do the job, as suggested by @Leigh_Kennedy, but instead of refreshing the browsers, which will display it in the screen and not look so good, I made selenium click a html object of the page every x minutes. In this case, the 'sheet-title',  'cause it's present in all my dashs.

I was kinda skeptic this would work, but it surprisingly seems to have.

Thank you both for the replies.

 

seanbruton

@pedrohenriqueperna You are welcome!!! I am also interested in the solution using selenium and will look into it. Your idea is simple and clean.

Amit_Prajapati
Creator II
Creator II

I'm facing an issue with session timeout due to inactivity in Qlik SaaS. After 20-30 minutes, the session times out, requiring a page reload.

I came across a solution mentioning that session timeout settings can be managed via the Qlik Management Console (QMC). However, I’m unsure if these settings are available in the cloud version.

Qlik Sense provides three settings that influence session timeout:

  • Session Inactivity Timeout – Defines how long a session remains active before timing out.

  • Keep-Alive Timeout – Controls the maximum timeout for a single HTTP request.

  • TCP Websocket Keep-Alive – Helps maintain the connection in certain environments.

Additionally, I’m exploring whether an extension can help keep the session active. Has anyone successfully implemented a workaround for this in Qlik SaaS?