Open Closed

My browser OVERNIGHT still had session active. #1495


User avatar
0
annguyentps created

ABP Framework version: v4.1.2 UI type: Angular DB provider: EF Core

We open a new tab and login to the app, then we close that tab. Wait 35 minutes (token lifetime is 30 minutes) then reopen the tab that we just closed, we can still access to the app. Or I left session open overnight, and the next morning I was still able to continue working on it. How can automatically logout after a while of not using the app?


4 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    From IdentityServer Management UI, you can change the token lifetime. To do that,

    Navigate to Administration-> Identity Server -> Clients

    Actions->Edit of your application

    Advanced-> Tokens: Change the Access Token Lifetime

  • User Avatar
    0
    annguyentps created

    I tried to change the token lifetime before.

  • User Avatar
    0
    alper created
    Support Team Director

    the cookies are stored for only active session. when you close the window, it becomes invalid. users must check "remember me" to have a persistent session.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

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