Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Idle Timer / Session Timeout - Best way to implement #6964


User avatar
0
dexmox created

Hi All,

Thank you in advance.

I am looking for the best way to include Idle Timer / Session Timeout into an Angular + Core Zero project.

What is the best way to handle logout after a session time is reached - configurable per tenant (stored in a settings table) that will display a lockout modal and stop any further action / navigation until they log back (including if they press refresh).

If anyone could provide an example / provide a link to an implementation or point me the general direction.

Thank you kindly. Regards. Dex.


1 Answer(s)
  • User Avatar
    1
    ryancyq created
    Support Team

    Hi, ANZ does not come with session timeout logic out of the box.

    there has been some discussion around the implemention in the PR for jquery version. however, the discussed use case should be valid for both jquery and angular.

    See

    • https://github.com/aspnetzero/aspnet-zero-core/pull/2132#issuecomment-466119408
    • https://github.com/aspnetzero/aspnet-zero-core/pull/2132#issuecomment-466512227
    • https://github.com/aspnetzero/aspnet-zero-core/pull/2132#issuecomment-469980653

    There is an issue that tracks session timeout feature

    https://github.com/aspnetzero/aspnet-zero-core/issues/352