Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: The support homepage carousel is not displaying. We are working toward a resolution.

How to count sessions in Qlik Sense

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

How to count sessions in Qlik Sense

Last Update:

May 10, 2022 3:21:58 PM

Updated By:

Jamie_Gregory

Created date:

Jul 13, 2018 12:55:35 AM

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
Specialist
Specialist

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. 

shienya
Partner - Contributor III
Partner - Contributor III

Hi @Sonja_Bauernfeind 

May I know what is the difference between this two?

  • One user opens Qlik Sense Hub from Two virtual proxy with One browser on One machine= 2 sessions
  • One user opens Qlik Sense Hub with One browser but Multiple tabs on One machine= 1 session

Two virtual proxy one does it mean accessing to the hub using the link two times? and by multiple tabs meaning duplicating the tabs does not equal to two virtual proxy?

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @shienya 

Two virtual proxy one does it mean accessing to the hub using the link two times

In this case, it means they are using two distinct Virtual Proxy URLs. You can set up multiple Virtual Proxies for you sense server, for example, ProxyOne and ProxyTwo. Accessing them will each count as one session, so you have two sessions total.

 and by multiple tabs meaning duplicating the tabs does not equal to two virtual proxy?

This means you are just heading to one hub (using one proxy, so if you'd have the two from above-ProxyOne and ProxyTwo-you'd only use ProxyOne) and using the same browser window to have two tabs open. The browser will handle the multiple tabs as one session.

All the best,
Sonja 

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