1 Reply Latest reply on Jun 9, 2009 4:31 AM by Benji2008

    Where does flash stores the local shared object data

    The Bruder Level 1

      HI All,


      I'm using shared object to store local data:

                      var so:SharedObject = SharedObject.getLocal(storageName);
                      // Store the data
                      so.data.userName = userName;



      Where does it actually saved on my hard disk (in windows vista operating system).




        • 1. Re: Where does flash stores the local shared object data
          Benji2008 Level 1

          http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Live Docs_Book_Parts&file=lsos_087_3.html




          The term local refers to the location of the shared object. In this case, Adobe Flash Player stores the SharedObject file locally in the client's home directory.

          When you create a shared object, Flash Player creates a new directory for the application and domain. It also creates an empty *.sol file that stores the SharedObject data. The default location of this file is a subdirectory of the user's home directory. On Windows, this directory is the following by default:

          c:/Documents and Settings/username/user_domain/Application Data/Macromedia/Flash Player/web_domain/path_to_application/ApplicationName/objectName.sol

          If you request an application named MyApp.mxml on the local host, in the Flex context, and within a subdirectory named /sos, Flash Player stores the *.sol file in the following location on Windows:

          c:/Documents and Settings/username/user_domain/Application Data/Macromedia/Flash Player/#localhost/flex/sos/MyApp.mxml.swf/objectName.sol
          1 person found this helpful