Magento 2.4.5-p1 WARNING: Session size of 260970 exceeded allowed session max size of 256000

Magento 2.4.5-p1 WARNING: Session size of 260970 exceeded allowed session max size of 256000

·

1 min read

Today one of my client was facing an issue. User was unable to login into the dashboard of Magento admin. Error message in the system.log was as follows:

WARNING: Session size of 260970 exceeded allowed session max size of 256000

Magento version was 2.4.5-p1. He was getting this issue once they have upgraded their website from version 2.3.5.

To fix this I have increase the session size by running this command.

php bin/magento config:set system/security/max_session_size_admin 1024000