143
Views
3
Comments
How to only allow one session at a time for a user with the same login credentials ?
Question
Service Studio Version
11.53.32 (Build 61761)

I only want to permit access to one user at a time using the same credentials. All previous logins ought to be cleared out if a user comes in with the same credentials on either the same device or a different one. Exists a way to control this?

2022-08-03 04-32-50
Ravi Punjwani

Hi Ibruse,

To achieve this you need to first identify each device uniquely. If you're successful in that (hint: a probable solution can be browser fingerprinting or identify mobile devices by UUID).

If you're successful in achieving the above issue, you are only 1 step ahead in achieving your goal.

What is your strategy for identifying same device same browser, but inside incognito mode? or a different chrome profile? There can be many possibilities.

If you're able to achieve fairly large percentage of different use cases and scenarios, you might be able to then distinguish by saving some fingerprinting information with your each successful login. Then you can decide to allow new sessions and kickout existing user sessions if they try to access from previous device without new login.

2025-04-17 05-42-16
Ajit Kurane

Hi,

I think this is what you are trying to achieve,

Please check below post for reference.

https://www.outsystems.com/forums/discussion/49596/restrict-multiple-logins/

And below discussion having.oml file.

https://www.outsystems.com/forums/discussion/70423/single-session-login-user/

You can refer both to achieve the same.


Thanks,

Ajit Kurane 

2024-08-11 13-17-57
Kumar Chandrasekaran

You try the below forge component,

https://www.outsystems.com/forge/component-overview/17561/no-concurrent-login

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.