Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs
5 votes
Accepted

How to inform the front-end user that their session is about to expire?

You can check the remaining time in the session with JavaScript using Craft's users/session-info controller action. This endpoint returns an object like this as a JSON response: { "isGuest&...
MoritzLost's user avatar
  • 11.4k

Only top scored, non community-wiki answers of a minimum length are eligible