What is a good method to limit a project to only one running client at a time?
Add a client message handler that will fire
Either periodically (ie, gateway timer script) or on demand (send a message from client - > gateway on client startup) check for duplicate sessions (
system.util.getSessionInfo() is one option).
Decide what the criteria is for which client stays and which one goes
Send a message from the gateway to the client you want to close.