How Long Can a Cookie Last?
Last Updated: June 22, 2020
The duration of a cookie can be set when the cookie is created. By default, the cookie is destroyed when the current browser window is closed, but it can be made to persist for a length of time after the page is closed. Some cookies are ‘session cookies’, which means they only exist when your browser is open and are automatically deleted when you close your browser or quit the app.
Other cookies are ‘persistent cookies’, meaning they survive after your browser or app is closed and can be used by websites or apps to recognize your computer when you re-open your browser or app later.