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: 1.1.0.0 (1.1.0.0)
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
SessionTypeBehavour
SessionType.DefaultConnects to a app session shared with the Qlik Senese web client
SessionType.RandomConnects to a globaly 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 conneting to the hub
Public propertyStatic memberRandom
Initializes a globaly unique session.
Public propertySessionToken
Session token
Top
Remarks
Only one app can be open in a session at a time
See Also