0

I have upgraded the site from magento 2.4.2 to magento 2.4.4. After the upgrade, the customer login is working fine, but after logging in, if I move to any other pages, the customer logs out automatically. I am not getting any error in system.log or exception.log or debug.log.

3
  • Try to compile one's and check it into different modes. Commented Jul 12, 2022 at 12:44
  • @DhirenVasoya i have check with all modes and compile the code still i am fetching same problem. Commented Jul 12, 2022 at 12:59
  • Thank you for suggestion, i have found the solution, it's related to varnish.i have set built in cache on full page cache(Caching Application) configuration. Commented Jul 12, 2022 at 13:38

1 Answer 1

0

check in your magento database :

SELECT * FROM core_config_data WHERE path = 'web/cookie/cookie_domain'; 

To update the cookie domain, use this query:

UPDATE core_config_data SET VALUE = "domain.com" WHERE path = 'web/cookie/cookie_domain';

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.