WebApplication.LastSessionIndex

From Xojo Documentation

Read-Only Property (As Index )
IndexValue = aWebApplication.LastSessionIndex

New in 2020r1

Supported for all project types and targets.

The index of the last active session.