How is your experience with the OutSystems Community?
12
Views
1
Comments
duplicate login control.
Question

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:

  • There are two modules, A and B.
  • A and B do not need to control logins across each other.
  • However, if a user logs in to app A from a second device, the existing session on the first device should be logged out.

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?

2026-03-13 15-51-13
Samuel Espinoza

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.

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