i have found a strange behaviour when running a mashup on ipad using safari browser.
consider that situation:
the user log into the application and navigate, then he press the sleep button.
after a while he wake up the device, the browser is still active but the application doesn't respond to inputs.
i found out that after refreshing the web page the mashup work as ususal and it doesn't require to relogin.
Seems that it loses the session.
so my question is if is it possible to catch that situation via code and automatically refresh the application avoiding user frustration on a
btw the hub behave in the same way but shows a popup asking the user to refresh...
I've met similar situation on normal desktop in Sense application (not in mashup) as well.
The connection is lost or the session is ended, and with or without error popup the screen shows the same sheet but without interaction (maybe the data is cached) - Qlik Sense 1.1.
I don't know, what is the solution
That's because of the session time out I believe which is set in the server. Please refer to the image below.
You can modify the App timeout to a greater number which helps you delay the time out period. But....
I would say that having low App time outs is a very good thing because if you have a longer App time out and the user forgets to log off, its going to consume extra sessions.
As an alternative to your issue, I would suggest you to invoke a pop up message saying that the session has logged out since it was idle for a long time. This way the user can be notified and can possibly curtail his frustration
Hope this helps!
- Sangram Reddy
Yeah, on a mashup throwing up a message saying that the session had been idle for a long time should be the way to go. Just to make sure that the user knows what has happens, why it has happened and what has to be done like the way QlikSense hub does.
the timeout option isn't good because the user can put the ipad in sleep mode and wake it up after a short period of time (less than the app time out), and the session will be down.