Open Closed

Disable concurrent login in abp.io latest version #7409


User avatar
0
Vishnuvardhan created
  • ABP Framework version: v7.0.0
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC): yes
  • Issue: For version 8 concurrent login is given inbuilt to manage but version7.0.0 it is not there. How should i do?

5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You need to upgrade your ABP version

  • User Avatar
    0
    Vishnuvardhan created

    Hi, I have deployed the application at a client location. So i wont think i can update the ABP version right now.

    All i need is, user should not login to multiple sessions at a any point of time. Can you help me, how can i achieve it without version upgrade.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We have an example: https://github.com/abpframework/abp-samples/tree/master/ConcurrentLogin

  • User Avatar
    0
    Vishnuvardhan created

    Hi,

    I have tried that sample but, it is in Asp.Net Zero so i didn't understand properly. Could you provide the steps that how to implement.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The idea of this example is to add an extra field as a login identifier, and update it to check it every time log in. If the identifier does not match, force the logout of the current login.

    You can search the ConcurrentLoginConsts keyword

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09