I have a client project that is implemented to several different stations and users. When the user logs in, I check to see if any client sessions are open with the user logged into using
userLoggedIn = len(system.util.getSessionInfo(uname))>0
Every once in a while a client will go dormant, and when the connection is restored/refreshed, whatever dormant actual means, the gateway will show 2 clients open to this station. This keeps the user from being able to log in, because the dormant session is still “running.” Any ideas on how to mitigate this, or to automatically close out dormant clients on the gateway?