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?
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

    Hi,

    You need to upgrade your ABP version

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.