Re: Destroying bean and DB connection on browser exit
Posted By:
guru_prasanth
Posted On:
Wednesday, September 18, 2002 01:44 AM
hi,
if u r using servlets or jsp then there is a method in servlet session called getlastaccessedtime() of that servlet.just get the current time and getlast accessed time and if the time limit crosses then close the connection.
i think this is a way u can do it.