registerLongLivedProcess

Registers a long-lived process. This can be used to prevent a session timeout from interrupting the completion of a long-lived server request. While a long-lived process is active, the application will periodically 'ping' the server if required to keep the session from timing out.

The cancelLongLivedProcess method should be called when the process is complete.

Syntax

registerLongLivedProcess(processId);

Parameters

  • processId - (String) Identifies the process to register.

Returns

none