Session Timeouts

Modified on Tue, 27 Feb 2024 at 08:30 AM

PA-DSS standards require that users have to re-authenticate if their session has been idle for more than 15 minutes.  AspDotNetStorefront enforces that requirement on all pages for logged-in users, and checkout pages for anonymous visitors.  If a customer sits idle for too long on a page, they will be shown the following alert:

If the user does not click 'OK' within 1 minute, their session ends and the first notification is replaced with this one:

At that point, clicking 'OK' (or anything else on the page) will force the user to start their session over again.  For customers who were logged in when their session expired, anything in their cart will have been saved, and they'll be sent back to the page they were last on when they log in again.


Store administrators have control over these alerts as follows:

Visibility - Whether or not the alerts display at all. This is controlled by the SessionTimeoutWarning.Enabled Setting. Note that even if the alerts aren't displayed, the session timeouts are enforced. See 'Delay' below for more info.

- The content of the alerts can be changed by editing the SessionExpiring and SessionExpired topics. The button text comes from Prompts - sessiontimer.expiringbuttontext and sessiontimer.expiredbuttontext.

Delay - How long customers can sit idle before seeing these alerts can be controlled by changing the SessionTimeoutInMinutes Setting. There is a new Setting called AdminSessionTimeoutInMinutes, which controls how long admin users may remain idle before being logged out of the admin console.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article