2 Replies Latest reply on Aug 26, 2010 12:10 AM by D.Rosendahl

    SharedObject

    D.Rosendahl

      Does Local Shared Objects work when running as an extension?

      I dont get any errors but it doesn't seem to store my values.

       

      This works:

          var so:SharedObject = SharedObject.getLocal("testData");
          so.data.client = "test";   
          so.flush();
          var so2:SharedObject = SharedObject.getLocal("testData");
          var result:Object = so.data.client;

      However, checking the last two rows (by themself) after a restart of the extension leads to a result = null.

       

      I need to store some connectionsettings locally for every installed plugin. (Different customers, different servers)

      What is the best way to do that?