Hi all,
How to avoid concurrent user login? If a user logged in, we should not allow one more user to login.
I tried with Client variable, but not able to get the session id.
Hi K C S,
There's no session id (as we know it from the Traditional web) in the reactive applications.
That's why when you try to use the GetSessionId server action, it won't retrieve the session id.
Based on your requirement, I think you will need to fetch the user id that is trying to log in and then with that user id, perform a logout. And only after this step, log in with the same user id.
Not sure if this will fulfil your requirement, so give it a try.
Regards,
PZ
@K C S You can try the below forge component,
https://www.outsystems.com/forge/component-overview/17561/no-concurrent-login
If you have not got a solution.