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

How to store data in FMS?

  • March 15, 2011
  • 1 reply
  • 997 views

Thanks in advance,

@5807549

Hi,

I am working in multi user chat application, in which users chat history need to save. When the user requests his chat history, respective chat history needs to retrieve.

Previously, I plan to save them in a shared object. Since shared object has size limitation and also it will be saved in some encrypted form I plan to save them in a database.

Now I came to know that data can be saved in a database using web service or xml socket etc....

I am totally confused. Please suggest me which the best way to save chat history.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    March 16, 2011

    If you want to store the chats for long time and their size is going to be huge then I would suggest it would be good to go with some database like SQL and use HTTPService components in flex to query them.

    Anonymous507
    Known Participant
    March 16, 2011

    Thank U Amit.

    I had some experience in working with Flash and Database. For that I have used sendAndLoad() to load a php file and passed values through my flash variable.

    I am not sure how to connect DB from FMS.

    connecting with DB from FMS is same as how we connect DB from Flash (& PHP)?

    Thanks

    @flash