| SessionWithApp Method (IAppIdentifier, SessionType) |
Initializes a app specific session
| SessionType | Behavior |
|---|
| SessionType.Default | Connects to a app session shared with the Qlik Sense web client |
| SessionType.Random | Connects to a globally unique app session |
Namespace: Qlik.EngineAssembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntaxpublic static ISession WithApp(
IAppIdentifier appIdentifier,
SessionType sessionType
)
Public Shared Function WithApp (
appIdentifier As IAppIdentifier,
sessionType As SessionType
) As ISession
Parameters
- appIdentifier
- Type: Qlik.EngineIAppIdentifier
application identifier to attach the session to - sessionType
- Type: Qlik.EngineSessionType
the wanted session type
Return Value
Type:
ISessiona session identifier
Examples
ISession privateSession = Session.WithApp(appIdentifier, SessionType.Random);
See Also