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:
C:\Programdata\Qlik\Sense\Log\Repository\Audit\AuditSecurity_Repository.txt
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...
6 mashups: a user opens 6 different html pages, using different js files, opening 6 different mashups. I think that is pretty clear.
but, you raise a good point, the use of embedded sheets should be added to this list of what counts as sessions with some examples.
example, a user opens 6 embedded urls (chart or sheet) for 6 different apps in one browser. how many sessions is that?
@Ken_T accessing 6 different webpages in parallel, each with its own JS script embedding Qlik Sense content is very likely implemented so that each webpage initiates at least one new session with Qlik Sense each. In such case, the user will exhaust the max parallel sessions limit.
As I mentioned previously, if you refer to 6 different URLs through iFrames, it will be one session per iFrame. This is mostly due to how a browser handles the embedded webpage on a process level.
To validate the session count you need to be explicit about how you plan to embed objects, then you can validate the utilization through Qlik Sense logs as mentioned in the article.
If your mashup exhausts the limit, then you'd have to review how the mashup is constructed, and look for optimization to enable reusing the same connection.
If you are looking for more precise guidance on your mashup scenario and how to optimize it further, I'd suggest rating a post under the https://community.qlik.com/t5/Integration-Extension-APIs/bd-p/qlik-sense-integration-extension-api forum.