PSA: Chrome and Firefox do not always clear session cookies on exit

Updated . Posted . Visible to the public. Repeats.

Cookies without an expiration timestamp are called "session cookies". [1] They should only be kept until the end of the browsing session.

However, when Chrome or Firefox are configured to reopen tabs from last time upon start, they will keep session cookies when closing the browser. This even applies to tabs that were closed before shutting down the browser.

This is by design in Chrome Show archive.org snapshot and Firefox Show archive.org snapshot , has been like that for quite a while now and it seems they won't change their mind.


[1] We are not talking about the the Rails session cookie here, though it often is a session cookie.

Arne Hartherz
Last edit
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2014-09-26 11:48)