This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Hi,all. Currently i am facing a problem.I have a form which can be opened by only 1 user at any given moment of time.When someone else tries to open the form (opened by someone else),he shoould get an error msg informing that the form is opened by "personName".Ihave set a flag in the database if opened==Y show error msg if opened==n allow to open the form. For this i am storing the username in session var . The prob i'm facing is that when the user(after opening form) closes the browser window,the database flag stays active ie ='Y'. Can i have a window closing event so that if he closes the browser,his session will be invalidated? Or can u suggest some other way? Any help is appreciated. Thanx, Vedhas.