Hi all i know this question is not specific to this forum. I am asking here as i think i will get much more response from here other than any other forum.

I want to manage concurrent use of data from different cliet sites. I am working in a health care project. I want to show one particular record of a patient say one of his problems details with read/write permission to first client who requested the details first. And to other users who are requesting the same record should get a read only view of the data. How can i implement this effectively. Mine is web based application. at present i am keeping a map of record id, and user who is viewing this in server for each type of record. I know this is not an effective method. Can anyone sugest an effective method for this.