This week's book giveaway is in the Other Open Source APIs forum. We're giving away four copies of Storm Applied and have Sean Allen, Peter Pathirana & Matthew Jankowski on-line! See this thread for details.
I have to work upon the scenario. Suppose there are 2 users. 1st user opens up a page and updates some data. The 2nd user also opens up the same page and updates the same data. The first user submits the data first and then the 2nd user submits the data. So, it corrupts the data in the database. So, how to handle such scenarios.