How to implement a user inactivity timeout?

Hi @IndigoJay

There are previous related post as follows tackling the same issue of user inactivity timeout:

Another approach could be to reset important session state variables of the app after a certain amount of time has elapsed if there were no changes made to those session state variables.