Open Closed

Session management after upgrading abp 7.0.3 to 9.1.0 #9139


User avatar
0
batuhankara created

Hello,

We have recently upgraded our ABP modules from version 7.0.3 to 9.1.0, and we are looking to enable and utilize Session Management in our solution.

Our project currently references the following modules:

Volo.Abp.Identity.Pro.*

Volo.Abp.IdentityServer.*

After the upgrade, we confirmed that the AbpSessions table has been created successfully. However, we are seeing logs indicating that a SessionId is not found in the database (it means never saved). It's unclear why this is happening, and we would appreciate any guidance on this.

Could you please advise on what steps we should take to correctly enable and use the session management feature?

Thank you in advance for your support.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This Session management depends on the Dynamic Claims feature of the ABP framework.

    Have you enabled the ynamic Claims?

    Thanks.

    https://abp.io/docs/latest/framework/fundamentals/dynamic-claims

    https://abp.io/docs/latest/modules/identity/session-management https://abp.io/docs/latest/modules/account/session-management

  • User Avatar
    0
    batuhankara created

    Yes I enabled it. I shared my host module with link because its too long. https://justpaste.it/hvxmf

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I checked. Session management doesn't support IdentityServer` because it is no longer supported and maintained.

    You can test it with OpenIddict.

    https://github.com/abpframework/abp/issues/11989

    Thanks.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13