you can monitor close event on javascript on client side... and do a post back to server and do you clean up there. however, personally i don't think this is very good practice in web-base application. this kind of clean up is more suited to thick client applications like java apps. it is best to treat all web request as a singular unit and close connections when done or just pool connections.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.