5 Nov 2013 11:09 AM #1
Unanswered: Is it possible to set expiry for local storage in sencha touch 2.1.1
Is it possible to set expiry for local storage in sencha touch 2.1.1, like we do for cookies in java script.
If so please post some sample code on how to do this.
Thanks in advance.
5 Nov 2013 5:51 PM #2
Local storage doesn't use expiration time, the data remains forever (unless it's specifically removed)
5 Nov 2013 8:05 PM #3
correct. you would want to manage this within your app. encrypt the info if security is your concern or hit it with cordova and throw a sql db under the covers... depending on your situation. hope this helps. JB