Skip to main content

Qlik Sense session expires on mobile devices if the device is locked

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Qlik Sense session expires on mobile devices if the device is locked

Last Update:

May 10, 2022 3:15:54 PM

Updated By:

Jamie_Gregory

Created date:

Apr 26, 2021 7:16:40 AM

When an iOS device gets locked, the connection to Qlik Sense on Safari gets interrupted after a few seconds.

 

Environment

 

Resolution

 

The issue is probably due to the operating system suspending the running application after some time when the device is locked. This will terminate the websocket connection, and therefore close the session.

A suspended application in iOS will only allow specific network connections (like audio streams or voip), and websocket is not among those.

This is something that cannot be controlled by Qlik, it's iOS way of optimizing system resources: https://medium.com/@chinthaka01/the-execution-states-of-an-ios-application-84e117132e27

There might be ways to mitigate this. For instance having a higher-end device with more resources available or turning off the battery saving mode if active, but websocket interruptions will eventually still occur.

Labels (1)
Version history
Last update:
‎2022-05-10 03:15 PM
Updated by: