Skip to main content Skip to complementary content

Session Class

Namespace: Qlik.Engine
Assembly: Qlik.Engine.dll

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

Syntax

public class Session : Session, ISession, ISession

Remarks

Only one app can be open in a session at a time

Properties

Name Description
AppIdentifier

App identifier

Default

Default session usable for connecting to the hub

Random

Initializes a globally unique session.

Methods

Name Description
WithApp(IAppIdentifier, SessionType)

Initializes an 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

WithApp(IAppIdentifier, String)

Initializes a app specific session with a custom session token

WithApp(String, SessionType)

Initializes an 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

WithApp(String, String)

Initializes a app specific session with a custom session token

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!