# SessionAppFromAppAsync Method

## Overloads

| [SessionAppFromAppAsync(ILocation, String, ISession)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm#Qlik_Engine_LocationExtensions_SessionAppFromAppAsync_Qlik_Engine_ILocation_System_String_Qlik_Engine_ISession_) |  | Create and connect to a new session app based on another app.<br>This method opens a websocket connection. |
| --- | --- | --- |
| [SessionAppFromAppAsync(ILocation, IAppIdentifier, ISession)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm#Qlik_Engine_LocationExtensions_SessionAppFromAppAsync_Qlik_Engine_ILocation_Qlik_Engine_IAppIdentifier_Qlik_Engine_ISession_) |  | Create and connect to a new session app based on another app.<br>This method opens a websocket connection. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm)

## SessionAppFromAppAsync(ILocation, String, ISession)

Create and connect to a new session app based on another app. This method opens a websocket connection.

### Declaration

```

          public static Task<ICreateSessionAppFromAppResult> SessionAppFromAppAsync(this ILocation location, string appId, ISession session = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ILocation](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ILocation.htm) | location | Location object of the Qlik Sense instance |
| System.String | appId | The ID of the app. |
| [ISession](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ISession.htm) | session | Session information to use. Default value is `Session.Random` |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[ICreateSessionAppFromAppResult](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ICreateSessionAppFromAppResult.htm)&gt; | A task with the result of the session app creation call as result. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LocationExtensions.SessionAppFromAppAsync.htm)

## SessionAppFromAppAsync(ILocation, IAppIdentifier, ISession)

Create and connect to a new session app based on another app. This method opens a websocket connection.

### Declaration

```

          public static Task<ICreateSessionAppFromAppResult> SessionAppFromAppAsync(this ILocation location, IAppIdentifier appIdentifier, ISession session = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [ILocation](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ILocation.htm) | location | Location object of the Qlik Sense instance |
| [IAppIdentifier](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IAppIdentifier.htm) | appIdentifier | The identifier of the app. |
| [ISession](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ISession.htm) | session | Session information to use. Default value is `Session.Random` |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[ICreateSessionAppFromAppResult](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.ICreateSessionAppFromAppResult.htm)&gt; | A task with the result of the session app creation call as result. |