the 3rd parameter is a persistance parameter, not the secure parameter (which is 4th and defaults to false).
persistence:Object[optional] — Specifies whether the attributes of the shared object’s data property are persistent locally, remotely, or both. May specify where the shared object will be stored locally. Acceptable values are:
- null or
falsespecifies that the shared object is not persistent on the client or server; the default
truespecifies that the shared object is persistent only on the server
- full or partial local path to the shared object indicates that the shared object is persistent on the client and the server. On the client, it is stored in the specified path. On the server, it is stored in a subdirectory within the Flash Media Server applications directory. For more information, see the Flash Media Server documentation.
- null or
thank you kglad for your answer, you are totally right I was confused and that's the parameter I had to modify.
Do you have any idea about why I had to modify it? Could be a FMS problem which is not persisting objects?
Thanks in advance.
check your server where you were saving those sharedobjects. maybe you've used all your diskspace or maybe write permissions have changed.