Question
· May 20, 2022

Caché - Determine how much time is left before a %CSP.Session times out

I want to display to the user on their Zen page how much time is left before their session times out.

I know I can set the %session.AppTimeout to a particular value (or manage this in the Web Application) and I know I can retrieve this value from the %session object. I also know that I can set an event handler to do something when the session has timed out but I cannot find any way to determine how long before the session ends via the application timeout so that I can keep the user informed.

I'm aware the session timeout triggers based on the inactivity of the user but I can't find anything with this value that I can use.

Any help would be greatly appreciated.

Product version: Caché 2018.1
$ZV: Cache for Windows (x86-64) 2018.1.2 (Build 309_5U)
Discussion (3)2
Log in or sign up to continue