Click or drag to resize
SessionWithApp Method (IAppIdentifier, String)
Initializes a app specific session with a custom session token

Namespace: Qlik.Engine
Assembly: Qlik.Engine (in Qlik.Engine.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax
public static ISession WithApp(
	IAppIdentifier appIdentifier,
	string sessionToken = null
)

Parameters

appIdentifier
Type: Qlik.EngineIAppIdentifier
application identifier to attach the session to
sessionToken (Optional)
Type: SystemString
a custom session token

Return Value

Type: ISession
a session identifier
Examples
// create a session that synchronizes with the Qlik Sense client
ISession syncedSession = Session.WithApp(appIdentifier);

// create a session that synchronizes with other clients using the same token
ISession privateSession = Session.WithApp(appIdentifier, "MySpecificSession");
See Also