2

I'm having this problem where I set/overwrite a cookie but I see 2 of them. One has a dot before the domain "www.sim..." I'm setting the cookie using javascript using a toggle

document.cookie = "night_mode=" + value + expires + "; path=/";

and only the value changes from 0 to 1.

Any idea how can I fix this? I've tried enter image description here

Karan
  • 1,187
  • 2
  • 9
  • 16

0 Answers0