I have a syncronization problem
"I have two administrators they can create user and they can change the user proprietaries. If one administrator is open the some particular user for the modification, that user details should not allow for modification until the administrator save or cancel the user details, by the other administrator but he could able to see that user details. I have a solution that there should be a key in database for user so that only one administrator can allow to modify the user details. But the problem is when the administrator is not properly shut down his browser or some power failure problem or WEB server is it self down (WEB server and Database servers are maintaining on different machines), the key (in database) holds by administrator will not be released".
How can i solve the above sincronization problem.I am using PHP on Apache and oracle as database server.
Please help me in this regard.
Thanking you
Suresh