Chrome doesn't delete session cookies

后端 未结 13 1674
有刺的猬
有刺的猬 2020-11-22 05:25

I\'m trying to set session cookie in javascript like this:

document.cookie = \'name=alex; path=/\'

But Chrome doesn\'t delete it even if I

相关标签:
13条回答
  • 2020-11-22 06:14

    I just had the same problem with a cookie which was set to expire on "Browsing session end".

    Unfortunately it did not so I played a bit with the settings of the browser.

    Turned out that the feature that remembers the opened tabs when the browser is closed was the root of the problem. (The feature is named "On startup" - "Continue where I left off". At least on the current version of Chrome).

    This also happens with Opera and Firefox.

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