Base solution for your next web application
Open Closed

Preventing other users signing in on the same browser #10313


User avatar
0
conorcorr created
  • What is your product version? 5.2
  • What is your product type (Angular or MVC)? Angular
  • What is product framework type (.net framework or .net core)? 5.2 is a mix I think!

If issue related with ABP Framework

  • What is ABP Framework version? 3.4
  • Multi-tenency = false

We have an issue where multiple users sign in on the same PC / browser

First user (User A) signs in and the application works as expected. A second user (User B) on the same PC / browser / IP also signs in.

The issue is that user A is overwriting user B’s data on saving. We’ve discovered that in the seesionAppService the GetCurrentLoginInformations() method persists with the first logged in user.

Is there a way to detect 2 different users are logged in and sign one out? Or is there a way to stop user B from signing in at all if a session currently exists?

Thank you


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @conorcorr

    We haven't seen this error before but you can try this. On the login process, first delete all local cookies on angular app, so there will be no information from the previously logged in user.