How to track the time of the current session in run-time?

Hi guys,


Is there a mechanism to track down how much time is left for the current session in the run-time?

I'm talking about the Outsystems Cloud Sever Session, not the browser session.


Thanks,

AY

Hi Andy,

I'm not sure if there's already a component in the forge for this but you can always make a simple one based on this article from Outsystems:

Link to article HERE.


Using that as a base you can check the variable HttpContext.Timestamp for the timestamp of the session and compare it with the current date time.


Hope this gives you some guidance to solve your problem.