0

In Magento2.3, I have cookie value not updating on homepage while its updating on other pages. Even on incognito browser close and reopen cookie value still exist.

Please suggest me way to make cookie working on homepage as well. I have followed following tutorial to set/get cookie. link

Thank you

1
  • Can you share your code how are you updating the cookie value? Dec 8, 2020 at 21:22

1 Answer 1

0

You need to reload the page twice in order for the $_COOKIE function to work , at least in my experience

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.