Report type
Outdated content
Affected page URL or Markdown path
No response
Problem or request
The documentation is needed to centrally explain how Symfony sessions, the Sales Channel Context, and cart storage work together in Shopware. It mainly answers how long customers stay logged in, why a cart may or may not still be available after a longer period, and which configuration values control this behavior. The central point is to distinguish between framework.session.cookie_lifetime / gc_maxlifetime, shopware.api.store.context_lifetime, shopware.cart.expire_days, and shopware.sales_channel_context.expire_days, because each setting controls a different lifecycle.
The document could also point out the potential security implications of longer session lifetimes, especially on shared devices or when sensitive customer data is accessible. It should also mention possible infrastructure implications, such as increased Redis memory usage when sessions are stored for a longer period. This helps users choose values that balance convenience, security, and server performance.
Suggested improvement
E.g., https://forum.shopware.com/t/warenkorb-lifetime-session-timeout/64844/22
Shopware version or version range
No response
Context or environment
None
Evidence and supporting details
No response
Reproduction or discovery steps
No response
Repository routing confirmation
Report type
Outdated content
Affected page URL or Markdown path
No response
Problem or request
The documentation is needed to centrally explain how Symfony sessions, the Sales Channel Context, and cart storage work together in Shopware. It mainly answers how long customers stay logged in, why a cart may or may not still be available after a longer period, and which configuration values control this behavior. The central point is to distinguish between framework.session.cookie_lifetime / gc_maxlifetime, shopware.api.store.context_lifetime, shopware.cart.expire_days, and shopware.sales_channel_context.expire_days, because each setting controls a different lifecycle.
The document could also point out the potential security implications of longer session lifetimes, especially on shared devices or when sensitive customer data is accessible. It should also mention possible infrastructure implications, such as increased Redis memory usage when sessions are stored for a longer period. This helps users choose values that balance convenience, security, and server performance.
Suggested improvement
E.g., https://forum.shopware.com/t/warenkorb-lifetime-session-timeout/64844/22
Shopware version or version range
No response
Context or environment
None
Evidence and supporting details
No response
Reproduction or discovery steps
No response
Repository routing confirmation