Click or drag to resize
Session Class
Contains Information to attach to a specific qlik engine session When connecting to a Qlik Sense app you can work with sessions. Sessions specify who should see changes in an app, and are based on combining userId and session key.
Inheritance Hierarchy
SystemObject
  Qlik.EngineSession

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public class Session : ISession

The Session type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleWithApp(IAppIdentifier, SessionType)
Initializes a app specific session
SessionTypeBehavior
SessionType.DefaultConnects to a app session shared with the Qlik Sense web client
SessionType.RandomConnects to a globally unique app session
Public methodStatic memberCode exampleWithApp(IAppIdentifier, String)
Initializes a app specific session with a custom session token
Top
Properties
  NameDescription
Public propertyAppIdentifier
App identifier
Public propertyApplicationPath
Application path
Public propertyStatic memberDefault
Default session usable for connecting to the hub
Public propertyStatic memberRandom
Initializes a globally unique session.
Public propertySessionToken
Session token
Top
Remarks
Only one app can be open in a session at a time
See Also