I create custom popup with custom cookie and when page is load my cookie have dot befor domain name. How remove this dot?

  • How did you set your cookie? Can you please put the code in your question? – HelgeB Mar 5 '19 at 3:34
  • Cookie added by createPublicCookieMetadata() metod in observer – Tomalo Mar 5 '19 at 9:10

I think in your Store > Configuration > General > Web > Default Cookie Settings added dot before domain name in Cookie Domain field.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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