7 Replies Latest reply on Oct 8, 2008 11:43 AM by abeall

    EncryptedLocalStore.setItem fails to overwrite

    abeall Level 3
      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.