> For the complete documentation index, see [llms.txt](https://developer.esw.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.esw.com/adobe-commerce-magento/additional-features/checkout-session-timeout.md).

# Checkout Session Timeout

Checkout Session Timeout lets retailers keep the Adobe Commerce and ESW checkout session duration aligned. This reduces cases where shoppers are logged out unexpectedly during checkout because one platform expires earlier than the other.

### Checkout Session Timeout configuration

Configure this feature in **ESW → Checkout → General Configuration**.

Use the **Session Timeout** field to set the shared checkout timeout value in minutes.

To configure the session timeout:

1. Log in to Adobe Commerce Admin.
2. Go to **ESW → Checkout**.
3. In **General Configuration**, find **Session Timeout**.
4. Enter the required timeout value in minutes.
5. Click **Save Config**.
6. Clear cache under **System → Cache Management**.

### Validation rules

The **Session Timeout** field accepts integer values only.

Supported values range from `5` to `4320` minutes.

The following inputs are rejected:

* non-numeric values
* decimal values
* negative values
* values outside the allowed range

If the field is left blank, ESW Checkout continues to use its default timeout value, which is approximately 20 minutes.

{% hint style="info" %}
When a valid timeout is configured, Adobe Commerce passes that value to ESW Checkout and overrides the default ESW session duration for Magento-initiated checkout sessions.
{% endhint %}

### How the feature works

When a shopper starts checkout from Adobe Commerce:

1. Adobe Commerce reads the configured session timeout value.
2. The timeout value is included in the checkout flow sent to ESW.
3. ESW Checkout applies the same timeout duration for that session.

This keeps the session lifetime aligned across both platforms.

### Shopper experience

When the feature is configured correctly:

* checkout sessions remain consistent between Adobe Commerce and ESW Checkout
* shoppers are less likely to lose checkout progress because of timeout mismatch
* session-related checkout interruptions are reduced

If the ESW checkout session expires, the shopper is redirected back to the cart and must restart checkout.

<div data-with-frame="true"><figure><img src="/files/ODYeFG0pmEX6OUKePwJL" alt=""><figcaption></figcaption></figure></div>

### Expected result

After setup is complete:

* Adobe Commerce and ESW Checkout use the same session duration
* timeout-related checkout drop-offs are reduced
* shoppers get a more consistent checkout experience


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.esw.com/adobe-commerce-magento/additional-features/checkout-session-timeout.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
