Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the magento frontend cookie not set

I'm running on magento 1.9.2.2 and when using Internet Explorer and Edge browsers I can't add anything to my cart. I click the add to cart button, get redirected to the cart page but then the "Your cart is empty..." message is being displayed. Safari, Chrome, Firefox, all working fine. Is just only when using IE or Edge that I encounter this problem.

After discovering the problem I did some research and found out that only on the problematic browsers Magento is not setting the frontend cookie (that for as far as I know handles the user/frontend session).

I already changed my cookie settings in the backend, changed the cookie lifetime, added a path, changed my domain to with and without a leading dot, but nothing is working so far.

Does anybody know a solution or can tell me why this cookie is not being set in those particular browsers?

Thanks in advance!

like image 945
Luuk Van Dongen Avatar asked May 12 '17 10:05

Luuk Van Dongen


Video Answer


1 Answers

Set your Use HTTP Only to yes and else thing keep as it is as you set hope this will help you

    Cookie Lifetime: 86400
    Cookie Path: 
    Cooke Domain: 
    Use HTTP Only: Yes
    Cookie Restriction Mode: No
like image 122
Amit Gaud Avatar answered Sep 29 '22 10:09

Amit Gaud