Limiting concurrent login sessions by role

jyoung2119
Tera Contributor

I am trying to figure out the best way to limit login sessions to 3 for admins and 1 for everybody else. I know there is a plugin that handles concurrent login sessions but I don't think I am able to have two separate limits like that. Has anybody had a requirement like this and if so, how did you implement it?

2 REPLIES 2

Shivalika
Mega Sage

Hello @jyoung2119 

 

Follow below 👇 steps - 

 

1. Install the free plugin "Limit Concurrent Sessions" 

 

2. Set the property 'glide.authenticate.limit.concurrent.interactive.sessions' = true --> By default this property is set to false and by setting the value to 'true', Concurrent Login behavior will get activated.

 

3. Set the below property value to n (where n = number of sessions you want to permit per user/role and its a integer) 'glide.authenticate.max.concurrent.interactive.sessions' = 2 (In my case n = 2)

 

4. Once we install the above-mentioned plugin, the system will create a checkbox called 'Limit Concurrent Sessions' on the Users and Roles table. Make sure, you are going to select the checkbox to whom you want to restrict the same.

 

I hope this answers your query precisely.

 

Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket. 

 

Regards,

 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeEISQCY

Shivalika
Mega Sage

Hello @jyoung2119 

 

 

Please confirm if you checked my answer. Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for my efforts and also it can move from unsolved bucket to solved bucket. 

 

Regards, 

Shivalika 

 

My LinkedIn - https://www.linkedin.com/in/shivalika-gupta-540346194

 

My youtube - https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&si=0WynLcOwNeE