Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

EncryptedLocalStore.setItem fails to overwrite

$
0
0
I'm finding that in my application EncryptedLocalStore.setItem() fails to write items if the item already exists.

If I set up a simple AIR project to test overwriting an item with EncryptedLocalStore, it works, but in my AIR project it only writes the item the first time. Successive times, either during the same app session or after restarting the app, fails to overwrite the item.

If I remove the item first using EncryptedLocalStore.removeItem(), everything works.

For what reason might the overwrite be failing? It's a little disconcerting, because I overwrite numerous items throughout the project to maintain user state.

Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>