08 Dec
08Dec

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, controlling data transfer limits.

Solving the Issue:

To fix the error, disable 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/

Comments
* The email will not be published on the website.
I BUILT MY SITE FOR FREE USING