Loading

How to Change Storefront Session Timeout in B2C Commerce

게시 일자: Dec 17, 2025
상세 설명

Storefront session timeouts are distinct from Business Manager timeouts and can be configured by in Business Manager with values in a range of 15-120 minutes. These changes are applied only to subsequent storefront sessions.

Per the Session Class documentation:

  • Soft Timeout: An idle session is rendered invalid after 30 minutes by default. This logs out the user and clears all privacy data, but the session can still be reopened with the same Session ID.
  • Hard Timeout: The session is rendered after 6 hours, even if the session is in use. This prevents a session from being reopened — for example, if a Session ID is pasted into the URL.
솔루션

To change from the default session timeout setting of 30 minutes, please log into Business Manager and go to Administration > Sites > Manage Sites > [site] > Settings and enter in your desired value in the Session Timeout field.

Note: The hard timeout value cannot be changed.

For information on Business Manager sessions, please see Is It Possible to Change the Business Manager Session Timeout in B2C Commerce?

Knowledge 기사 번호

000389499

 
로드 중
Salesforce Help | Article