# CreateSessionAppFromApp method

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.

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qSrcAppId | App identifier of the source app.<br>It corresponds to *qAppId* returned by the *CreateApp method* when creating the source app. | Yes | String |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qSessionAppId | &lt;Identifier of the session app&gt; | String |
| qReturn | { "qType": "Doc", "qHandle": &lt;Handle of the session app&gt; }<br>The identifier of the session app is composed of the prefix *SessionApp*\_ and of a GUID. | [ObjectInterface](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/models-objectinterface.htm) |

## Access Control

`create`

## See also

[Create an app](https://help.qlik.com/en-US/sense-developer/November2025/csh/engineapi/create-app)

[CreateSessionApp method](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/EngineJSONAPI/Content/service-Global-CreateSessionApp.htm)