+ 1

What is the lifetime of local storage?

16th Oct 2016, 8:28 AM
paras
3 Antworten
+ 3
According to John Resig, it's not possible to specify expiration. It's completely up to the user. http://ejohn.org/blog/dom-storage/ edit — obviously, your own application can actively remove stuff if it decides it's too old. That is, you can explicitly include some sort of timestamp in what you've got saved, and then use that later to decide whether or not information should be flushed *** via-Stack Overflow***
16th Oct 2016, 9:13 AM
Htet Oo Wai Yan
Htet Oo Wai Yan - avatar
0
very cool!
20th Oct 2016, 11:18 PM
Olexandr Syvoplias
Olexandr Syvoplias - avatar
0
its on you how you will make the changes no expiration of any file is determined till you do any changes you should secure your file every where if it is important
26th Oct 2016, 9:35 AM
Moulik bhupal
Moulik bhupal - avatar