# CreateSessionAppFromAppAsync Method

## Overloads

| [CreateSessionAppFromAppAsync(String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CreateSessionAppFromAppAsync.htm#Qlik_Engine_IHub_CreateSessionAppFromAppAsync_System_String_) |  | Creates a session app from a source app.<br><br>The following applies:<br><br>\* The objects in the source app are copied into the session app.<br><br>\* There is no data in the session app, unless it is reloaded.<br><br>\* The script of the session app can be edited and reloaded.<br><br>\* The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.<br><br>\* A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections. |
| --- | --- | --- |
| [CreateSessionAppFromAppAsync(AsyncHandle, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CreateSessionAppFromAppAsync.htm#Qlik_Engine_IHub_CreateSessionAppFromAppAsync_Qlik_Engine_AsyncHandle_System_String_) |  | Creates a session app from a source app.<br><br>The following applies:<br><br>\* The objects in the source app are copied into the session app.<br><br>\* There is no data in the session app, unless it is reloaded.<br><br>\* The script of the session app can be edited and reloaded.<br><br>\* The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.<br><br>\* A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections. |
| [CreateSessionAppFromAppAsync<T>(AsyncHandle, Func<Response, T>, String)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.CreateSessionAppFromAppAsync.htm#Qlik_Engine_IHub_CreateSessionAppFromAppAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_) |  | Creates a session app from a source app.<br><br>The following applies:<br><br>\* The objects in the source app are copied into the session app.<br><br>\* There is no data in the session app, unless it is reloaded.<br><br>\* The script of the session app can be edited and reloaded.<br><br>\* The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.<br><br>\* A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections. |

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

## CreateSessionAppFromAppAsync(String)

Creates a session app from a source app.

The following applies:

* The objects in the source app are copied into the session app.
* There is no data in the session app, unless it is reloaded.
* The script of the session app can be edited and reloaded.
* The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.
* A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections.

### Declaration

```

          Task<CreateSessionAppFromAppResult> CreateSessionAppFromAppAsync([QixName("qSrcAppId")] string srcAppId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | srcAppId | App identifier of the source app.<br>It corresponds to `qAppId` returned by the `CreateApp method` when creating the source app. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[CreateSessionAppFromAppResult](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.CreateSessionAppFromAppResult.htm)&gt; |  |

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

## CreateSessionAppFromAppAsync(AsyncHandle, String)

Creates a session app from a source app.

The following applies:

* The objects in the source app are copied into the session app.
* There is no data in the session app, unless it is reloaded.
* The script of the session app can be edited and reloaded.
* The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.
* A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections.

### Declaration

```

          Task<CreateSessionAppFromAppResult> CreateSessionAppFromAppAsync(AsyncHandle asyncHandle, [QixName("qSrcAppId")] string srcAppId)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | srcAppId | App identifier of the source app.<br>It corresponds to `qAppId` returned by the `CreateApp method` when creating the source app. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;[CreateSessionAppFromAppResult](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.CreateSessionAppFromAppResult.htm)&gt; |  |

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

## CreateSessionAppFromAppAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String)

Creates a session app from a source app.

The following applies:

* The objects in the source app are copied into the session app.
* There is no data in the session app, unless it is reloaded.
* The script of the session app can be edited and reloaded.
* The name of a session app cannot be chosen. The engine automatically assigns a unique identifier to the session app.
* A session app is not persisted and cannot be saved. Everything created during a session app is non-persisted; for example: objects, data connections.

### Declaration

```
Task<T> CreateSessionAppFromAppAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qSrcAppId")] string srcAppId)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | srcAppId | App identifier of the source app.<br>It corresponds to `qAppId` returned by the `CreateApp method` when creating the source app. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |