1 Attachment(s)
Solved: Exceeded Allowed Session Max Size in Magento 2
Facing the "exceeded allowed session max size" glitch in Magento 2 after an upgrade? Dive into this quick guide for a seamless resolution. Discover how to swiftly tackle the issue and keep your Magento 2 admin panel running smoothly.
Attachment 16935
The Scenario:
After a Magento upgrade, an admin panel issue surfaced with the error:
`report.WARNING: Session size of 276448 exceeded allowed session max size of 256000`
Understanding Session Management in Magento 2:
Magento 2 uses session management to prevent DoS attacks and control data transfer limits.
Solving the Issue:
To fix the error, disable the max session size for admin using either the admin panel or a simple command.
Solution Steps:
- Admin Panel:
1. Navigate to Stores > Settings > Configuration.
2. Select System under Advanced.
3. In the Security section, set Maximum Session Size in Admin to 0 and save.
- Command Line:
Run `php bin/magento config: set system/security/max_session_size_admin 0`
Conclusion:
If this solution helps, share it. Any questions? Drop a comment below.
Thank You!
Read Full Blog: https://meetanshi.com/blog/exceeded-...-in-magento-2/Attachment 16934