Javascript fails to create/recognize cookies on Chrome

后端 未结 1 379
予麋鹿
予麋鹿 2020-12-20 01:00

I previously asked a question about why my Javascript didn\'t work, and was now gonna ask another one- when I finally decided to test my code on something else than my defau

相关标签:
1条回答
  • 2020-12-20 01:38

    For those trying to use cookies for local files, try adding the following command line flag or switch to your Chrome shortcut:

     --enable-file-cookies
    

    It should allow Chrome to accept local file cookies.

    Found this on http://www.google.com/support/forum/p/Chrome/thread?tid=23fd2349855c0f17&hl=en

    0 讨论(0)
提交回复
热议问题