number of sessions

is there a way to limit the number of sessions opened by the users?

many times when i check online users on the system i notice that some users consume 2 or 3 sessions at the same time, and this is consuming from our concurrent licenses. can we limit that for every user only one session can be open at a time?

You can put code in the ApplicationManagement Codeunit in the LogInStart function to check the session Record for a second session by the same user as the current user (current user is signified by “My Session”) then set an error message so they can’t login