Skip to main content
Anonymous507
Known Participant
March 10, 2011
Question

FMS....

  • March 10, 2011
  • 1 reply
  • 911 views

hi

i am working in chat application using FMS server. i want to save the chat history of the respective user and chat roowm. and the users chat will needed for future purpose.

is it possible to save the users chat history in the FMS server itself, or it need to be saved in data base.

thanks in advance,

ayathas

    This topic has been closed for replies.

    1 reply

    March 10, 2011

    Hi,

    You can use persistent remote shared object to achieve the same. To know more about shared object concept you can see the documentation here at http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d37a-7fff.html#WS5b3ccc516d4fbf351e63e3d11a0773d37a-7ffa. Here are the reference for client side http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SharedObject.html and server side is here at http://help.adobe.com/en_US/FlashMediaServer/3.5_SS_ASD/WS5b3ccc516d4fbf351e63e3d11a11afc95e-7e63.html

    Hopefully this gets you started

    Thanks,

    Abhishek

    Anonymous507
    Known Participant
    March 10, 2011

    thanks for ur immediate response,

    for now i can able to send and recieve the message. and i can able to view the last message history of the users.

    i want to know, where the message was stored. can u tell me the path

    for example,

    when we used SharedObject.getLocal() , saved data will be in the path called 'C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\#SharedObjects\'

    now i am using 'SharedObject.getRemote() ', where the data will stored? . please tell me the path,

    is it possible to view that saved message history.

    March 10, 2011

    The Shared object is present under  "sharedobjects" folder of application to which you have connected your shared object too. This will be the case only if you are using persistent shared object