Chrome doesn't delete session cookies

后端 未结 13 1671
有刺的猬
有刺的猬 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

    This can be caused by having Chrome set to Continue where you left off.

    enter image description here

    Further reading

    • Bug report: Chrome is not deleting temporary cookies – i.e. not logging me out automatically when I close all browser Windows
    • Issue 128513 in Chromium: Session Cookies not cleared when Chrome processes closed
    • Issue 128567: Session only cookies don't delete

提交回复
热议问题