Kicking Idle Users

Recently my company has installed Ignition in one of our plants primarily as a historical data tracking tool for the engineering department. They opted for a five client license and unfortunately this does not appear sufficient due to the engineers forgetting to close there clients on a regular basis. Is there a way to set a time that after which the gateway automatically closes an idle client?

put this in a client timer script and adjust the 30 to whatever fits your need.

if system.util.getInactivitySeconds() > 30:

   system.security.logout()

Thanks! Works like a charm.