Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team
How are sessions counted in Qlik Sense?
The following are examples of how sessions are counted within Qlik Sense.
Sessions will be terminated after the currently configured Session timeout in the Qlik Sense Proxy.
If the Qlik Sense engine or Proxy are terminated or crash, Sessions are ended right away.
Once the maximum number of parallel user connections (5) is reached, this will be documented in the AuditSecurity_Repository log. To identify if this is the issue, review the relevant log and review how the user is interacting with the system.
The log is stored in:
The related message reads:
Access was denied for User: 'Domain\USER', with AccessID '264ff070-6306-4f1b-85db-21a8468939b5', SessionID: 'e3cd957b-a501-4bec-a3f8-d35170a73efa', SessionCount: '5', Hostname: '::1', OperationType: 'UsageDenied'
Troubleshoot too many sessions active in parallel
Qlik Sense April 2018 and later- Service account getting "You cannot access Qlik Sense because you h...
Had a query on the 4th line:
When the Browser is closed, won't that close the session at that moment itself?
I have rephrased the line a bit to make it easier to parse.
To answer the question: When you close a browser and then re-open it and return to the hub, a new session ticket is created.
All the best,
Hi @Sonja_Bauernfeind ,
Would it be considered as 2 sessions if one user opens QMC & Hub with one browser on same machine?
@Sivapriya_d my experience is that the same Qlik Sense Proxy session is utilized if you open Hub and QMC in parallel. You can see this by simply checking the session cookie for the two different windows or tabs.
You may see different behavior depending on how the browsers share existing session cookies between different windows, tabs, and processes.
Is the limit of 5 hard coded or is it configurable?
found the answer on the community, there is a feature request / enhancement request / idea for this
could more details be given for this as related to mashups?
If a user opens multiple different mashups, lets say 6, in one browser. is that 6 sessions or 1 session?
If the user opens 6 mashups in one browser, and then opens 6 mashups in another browser - how many sessions will that be and will it trigger a message about too many sessions used? In my recent testing this has triggered a too many session error and this made me realize I am not sure how this works with respect to mashups. Can you elaborate on how sessions are handled by mashups, using the above examples to clarify?
@Ken_T I'm not sure what you mean by "6 mashups", but often when session limit is reached for mashups it is due to that the mashup does not efficiently reuse open connection.
If you embed 6 object from a single app in a webpage and use the same session/connection to retrieve these from Qlik Sense server then it only consumes one session. In such scenario, it work the same way as the native Qlik Sense client where you can see multiple (and more than 6) objects on the same sheet.
However, if you embed object through iFrame, it will typically require one connection per iFrame as the browser will run this as a separate process/page. Avoiding iFrame is often a good way to optimize mashup performance and connection reuse.
Increasing the current limit is likely to have negative impact on deployments, as more session adds workload to the server and open up for sharing same license among multiple users which may not be desirable for Qlik. The current numbers has been defined as a balanced value in regard of usability and performance, so I think it is unlikely to change in the near future.
For discussion around your specific use case, https://community.qlik.com/t5/Integration-Extension-APIs/bd-p/qlik-sense-integration-extension-api, might be a good forum area to discuss further with the Community integration experts.