Reputation: 99
while two users are editing their data from different location, when both clicks submit button at the same time, one user information is inserted in other user information automatically..
i do not know why this happens..
Need help to solve this issue.
Thnx in advance.
Upvotes: 0
Views: 929
Reputation: 4559
Maybe use locking mechanism?
http://msdn.microsoft.com/en-us/library/c5kehkcz(v=vs.71).aspx
Worked fine for me in ASP.NET as far as I remember.
Upvotes: 1
Reputation: 190935
If you are storing the data in a database, a transaction is crucial.
Upvotes: 2