Hi all expert,
Pls give me the solutions for this two problem, which i was asked recently in interview.
Prob1: Suppose I have application with 10 admin, so they can change the data anytime their having own userid and password. For example, one user retrieve one data from database table, while retrieving it value was 2, after retrieving he didn't update the update button, then he went for breaks for 10 minits. In between other admin change the original database table with value 3, 4, 5 and Finally 10 value by the 10th admin. Now the current value in table 10. But when he comes from breaks and click on the update button value 2 will be saved, which is not at all expected value..it should be 10. How to approach to this problem????
Prob2: Suppose one user forget to logout his application while he was leaving for the day. And after 10 minits while he reached his house, due to urgency again he wants to open that application from his home computer. If he tries to login to the application in that period what will happen????(Session timeout was 30 Mints). If its a problem how to overcome this????
Pls give me the solutions......pls...pls
Thanks, Sumit