Cannot set cookies in Javascript

Recently I stumbled upon a similar issue. My script couldn’t store a cookie in Chromium, although it worked well on all other major browsers. After some googling it turned out that Chrome ignores cookies from local pages. After I uploaded the page to remote server code magically started to work.

Leave a Comment