entSession

Syntax

app.entSession;

Access

readonly

Parameters

Return value Session

The Enterprise or Studio Server Session object.

Description

The entSession property gives access to the Enterprise or Studio Server session by returning a Session object.

For more info about the Session object please see the Session documentation.

Examples

Check if there is an active session

When activeUrl is empty, there is no active session.

// Check if the session is active.
var sessionObject = app.entSession;
var activeSession = (sessionObject.activeUrl !== "");

// When logged in, activeSession is now 'true'.
// When not logged in, activeSession is 'false'.

Supported versions

Adobe Version Supported
CC 2017
CC 2018
CC 2019
2020

See also