This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
Hi, I wish to know whether a database session can be terminated earlier than web session which is binding the database session. The database session is bound to the web session upon database login by: 1. javax.servlet.http.HttpSessionBindingListener; 2. javax.servlet.http.HttpSessionBindingEvent; Both the database session and web session are set to timeout in 60 minutes. When we do an experiment to manually terminate the database session after 30 minutes, our expected result is that no record can be added to the database from the web application after 30 minutes. We test this because there is a possiblility that the database session may end earlier than web session for unknow reason. But our test result shows that record still can be added to database after 30 minutes. 1. What is the cause of this unexpected result ? 2. What is the supposed result ?