Instagram

About Me

Photo Profile
Meetanshi Architecture Designer

Meetanshi is found based on providing the best Magento Extensions and Customized eCommerce Business Solutions perfected to the users’ needs. Our Happy users make us Happy. Complete satisfaction to our clients is what drives and motivates us to work hard. Read More

Friday, December 8, 2023

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.

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:

  • Navigate to Stores > Settings > Configuration.

  • Select System under Advanced.

  • 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-allowed-session-max-size-in-magento-2/

No comments:
Write comments


Get more of our update !