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.
-
Try to compile one's and check it into different modes.– Dhiren VasoyaCommented Jul 12, 2022 at 12:44
-
@DhirenVasoya i have check with all modes and compile the code still i am fetching same problem.– pankaj parmarCommented 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.– pankaj parmarCommented Jul 12, 2022 at 13:38
Add a comment
|
1 Answer
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';