We want to restrict user multiple login session at time, there should be single active login session.
user should be allowed to be logged in to one application from only one browser at a time. When user logs in then server should check his current active sessions to the same application from other browsers. If there is then log out from everywhere else and keep only newest session.
so any provision available in abp.io commercial module ?
5 Answer(s)
-
0
hi
See https://support.abp.io/QA/Questions/536/How-to-Restrict-users-multiple-login-session
-
0
i already tried this but it's not working,
this piece of code add in WebModule
any another configuration ?
-
0
- ABP Framework version: vX.X.X
- UI type: Angular / MVC / Blazor
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes / no
-
0
i already tried this but it's not working,
this piece of code add in WebModule
any another configuration ?
any other configuration for Restrict user to multiple login ?
-
0
hi
You can add a special column for IdenttiyUser, change it after logging in, and check it in the logged-in request.