3

Android Web view is giving me "Unable to send the cookie.Cookie size would be exceeded" error. The website I am opening in the web-view url is build using Magento 2 e-commerce platform. I have googled about the same and found out that Magento 2 throws an exception if your cookies size is more than 50.

And this link gives me a clear comparative listing of cookie size as well as cookie limit supported by different browsers and Android supports only 50 cookies per domain.

As per the answer provided here, i am clearing the cookies whenever getting this error but the problem is , it also clears my cart items as they are saved in browser cookies.In this situation, end user have to re-select all the cart items which is a bad user experience.

Screenshots of my error message is below -

enter image description here

enter image description here

How to solve this issue. Any help is appreciated.

Anand Suthar
  • 3,678
  • 2
  • 30
  • 52
B.shruti
  • 1,589
  • 1
  • 21
  • 41

0 Answers0