OutSystems Service StudioVersion 11.55.75 / Build 64930
I am currently using two modules deployed under the same domain.
I need to implement duplicate login control.
To explain the requirement:
We are using the same User database for both modules.
In the existing A app, I used the No Concurrent Login forge component to control concurrent logins, but when I applied it to module B, it caused a bug where the session gets disconnected every time a page is accessed, so it is not usable.
I need concurrent login control for both A and B.What would be the best way to implement this?
Hey @ej ryu This is a common and interesting challenge, there are actually several existing discussions and ready-to-use Forge components that might save you a lot of work.
Forum discussions worth reviewing:
- [Restrict Multiple Logins](https://www.outsystems.com/forums/discussion/49596/restrict-multiple-logins/)
- [Session Destroy](https://www.outsystems.com/forums/discussion/43340/session-destroy/) -[Prevent Multiple Logins] (https://www.outsystems.com/forums/discussion/19983/prevent-multiple-log-ins-per-user/)
Forge components that may fit your needs:
- [Concurrent Session Control (O11)](https://www.outsystems.com/forge/component-overview/21754/concurrent-session-control-o11)
- [Login Session Timeout Sample (O11)](https://www.outsystems.com/forge/component-overview/1886/login-session-timeout-sample-o11)
Hope this helps! Or maybe help you to have a better idea on how to achieve this.