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: 1.1.0.0 (1.1.0.0)
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 syncronizes with the Qlik Sense client
ISession syncedSession = Session.WithApp(appIdentifier);

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