Block Concurrent access of multiple users

Hi everyone,
in my application I would like to allow access only to one user at a time. How do you suggest me to do?
Thank you !

Hi,

I believe you have security in place in your application so you can “identify” the logged users. You could record login and logout operations and check, at login, if another user is still in the application (=not yet logged out). How to to do depends on how you have created your application.

Any way, this is a tricky because user can simply not logout in a proper way so nobody can enter because the applications believes the previous user is still in.

May be it’s better to let users enter and eventually block them to perform operations in parallel, for example, by implementing a queue.

Hi Gualtiero,
the problem was just the case when the user did not click on logout.
I will invent something.
Thank you