SessionWithApp Method (IAppIdentifier, String) |
Initializes a app specific session with a custom session token
Namespace: Qlik.EngineAssembly: 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
)
Public Shared Function WithApp (
appIdentifier As IAppIdentifier,
Optional sessionToken As String = Nothing
) As ISession
Parameters
- appIdentifier
- Type: Qlik.EngineIAppIdentifier
application identifier to attach the session to - sessionToken (Optional)
- Type: SystemString
a custom session token
Return Value
Type:
ISessiona session identifier
Examples
ISession syncedSession = Session.WithApp(appIdentifier);
ISession privateSession = Session.WithApp(appIdentifier, "MySpecificSession");
See Also