Click or drag to resize
SessionWithApp Method (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

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public static ISession WithApp(
	IAppIdentifier appIdentifier,
	SessionType sessionType
)

Parameters

appIdentifier
Type: Qlik.EngineIAppIdentifier
application identifier to attach the session to
sessionType
Type: Qlik.EngineSessionType
the wanted session type

Return Value

Type: ISession
a session identifier
Examples
// create a session that is private
ISession privateSession = Session.WithApp(appIdentifier, SessionType.Random);
See Also