I created a web application in flex. I used apache server to save data and retrieve data from server with the help of php.
There is a XML file in server, my application write data in this xml file and retrieve data from this xml file.
My application working fine for single user but if too many users using this at same time there is synchronizing problem.
So please suggest me to how i go so my application synchronize with multi users.
Have your PHP read/write to a database. Create a table for each session, and reference it using the session ID. If you don't want a new table for each session, than use some other kind of unique identifier (such as a user login id).
Ya I am using PHP read/write to a database.
I want that if any user changes in server XML file. These changes automatically reflect to other users.So that other users can just add his changes.