Base solution for your next web application
Open Closed

Get Remaining Session Time #6344


User avatar
0
PDV created

Hello,

is it possible to get the remaining Session Time before the user is logged off?

It seems that our user is suddenly logged off.

Regards Frank


4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    What is your authorization method? JWT token or cookie?

    Are you using asp net core?

  • User Avatar
    0
    PDV created

    We are using JWT Token, without asp.net core!

  • User Avatar
    0
    ryancyq created
    Support Team

    It seems that our user is suddenly logged off.

    What scenario will a user suddenly logged off?

  • User Avatar
    0
    aaron created
    Support Team

    You can set tokenAuthConfig.Expiration in your WebCoreModule. Default is TimeSpan.FromDays(1).