Cookie does not disappear

I set a cookie, without setting the expires property, and the expires in the browser is displayed as 1969-12-31T23:59:59.000Z. According to reason, if the browser is closed and then opened, the cookie is gone, but it still exists. Solve?

Mar.24,2021

if it's a Mac system, you have to chrome right in the mac dock and select "exit"


I finally know why. The setting of my chrome browser is "continue from where I left off". In other words, if I turn it off and then open it, it will go back to the state before it was closed. Unexpectedly, Chrome thought this was a continuous session. Change the setting to "just open a new tab". Dizzy!

Menu