Preventing concurrent data modification in Web based app

Posted by Manoj on Stack Overflow See other posts from Stack Overflow or by Manoj
Published on 2010-04-16T15:19:14Z Indexed on 2010/04/16 15:23 UTC
Read the original article Hit count: 261

Hi, I am building a web app in Silverlight which allows users to view and edit a database. In order to prevent multiple users from editing the same data, I was thinking of implementing a lock and key mechanism, so that other users are made to wait when one particular user is editing the data. Is there any way in which we can have variable(flag specifying if a user is editing data) in the server which can be shared across multiple clients? Is there a better way to manage this type of conurrent data access issues?

© Stack Overflow or respective owner

Related posts about database

Related posts about Silverlight