Skip to main content
Apr 26, 2011 7:48 AM UTC
Question

How to share an array?

I want to share a list of visitors of chat room with SharedObject. I was going to put and array into shared object's field. Is it possible? And also I was realized that it is impossible to synchronize shared array correctly. If two visitors will add themselves to the list simultaneously, then one can be lost.

Is it possible to synchronize access to shared object somehow or the only way is to write server side function to control the array?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Participating Frequently
    Apr 28, 2011 4:39 AM UTC

    Hi,

    In the following document go through the section conflict resolution.

    http://help.adobe.com/en_US/FlashMediaServer/3.5_CS_ASD/WS5b3ccc516d4fbf351e63e3d11a070f7ddf-7ec4.html

    I hope this will help you.

    Translate