98
rated 0 times
[
100]
[
2]
/ answers: 1 / hits: 45094
/ 12 Years ago, mon, october 22, 2012, 12:00:00
Possible Duplicate:
When do items in HTML5 local storage expire?
My web application uses client side storage (sessionStorage
and localStorage
). However, I want this data to be expired after some time (eg. 2 days). It was a super easy task with expiration date of cookies but I don't know how to set an expiration date for HTML5 storage.
Any ideas how to solve this problem? Efficiency and simplicity is important.
More From » html