+ 7

why is local storage not lifetime

web

8th Jun 2018, 11:51 AM
Shubham goyal
Shubham goyal - avatar
2 Respostas
+ 6
By default LocalStorage dont expire. It's completely up to the user. Read more: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
8th Jun 2018, 12:17 PM
Gopal Gautam
Gopal Gautam - avatar
+ 3
There's no expiration to localstorage, because that's what it's designed for. However, when you clear browser data, they'll be removed
8th Jun 2018, 12:34 PM
Owenizedd
Owenizedd - avatar