Skip to main content Skip to complementary content

destroySessionObject method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.destroySessionObject(id)

Destroys a Qlik Sense session object created with the createGenericObject method or any of createCube, createList or getList methods.

Calling this method removes the object from the Qlik associative engine, no more updates are sent to the client and all methods on the object are invalid.

Version history

Version history
Version state Details
Introduced 1.1

Parameters

id

Type: String

Session object ID.

Returns

A promise of a Qlik associative engine reply.

Tip noteFor more information regarding a promise, see The Promise API.

Example

app.destroySessionObject('xcVtY');
app.destroySessionObject(reply.qInfo.qId);

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!