Skip to main content

Official Support Articles

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

Announcements
QlikWorld 2023, a live, in-person thrill ride. Save $300 before February 6: REGISTER NOW!

How to count sessions in Qlik Sense

cancel
Showing results for 
Search instead for 
Did you mean: 
Yoichi_Hirotake
Former Employee
Former Employee

How to count sessions in Qlik Sense

How are sessions counted in Qlik Sense? 

The following are examples of how sessions are counted within Qlik Sense.  

  • One user opens Qlik Sense Hub with One browser on One machine = 1 session
  • One user opens Qllik Sense Hub with One browser but Multiple tabs on One machine= 1 session
  • One user opens Qlik Sense Hub with Two different browsers on One machine= 2 sessions
  • One user opens Qlik Sense Hub with One browser, then closes the browser and reopens it = 2 sessions
  • One user opens Qlik Sense Hub with One browser on Two different machines = 2 sessions
  • One user opens Qlik Sense Hub and two Apps in one browser, two different tabs and on a mobile device = 2 sessions
  • One user opens Qlik Sense Hub from Two virtual proxy with One browser on One machine= 2 sessions
  • One user opens Qlik Sense Management Console (QMC) with One browser on One machine = 1 session
  • One user opens a Qlik Sense Mashup using Two Apps hosted from the same proxy = 1 session

 

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'


Related content:


Troubleshoot too many sessions active in parallel
Qlik Sense April 2018 and later- Service account getting "You cannot access Qlik Sense because you h...
 

Tags (1)
Labels (1)
Comments
Ken_T
Creator III
Creator III

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?

ToniKautto
Employee
Employee

@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. 

Version history
Last update:
‎2022-05-10 03:21 PM
Updated by: