Skip to main content
April 26, 2011
Question

How to share an array?

  • April 26, 2011
  • 1 reply
  • 411 views

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 has been closed for replies.

    1 reply

    Participating Frequently
    April 28, 2011

    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.