Dont know if im posting in the right place!!

Im creating an application using Web Forms in VB.NET attached to a Access DB.

I would like to make some changes in my DB when the user closes his browser.
How can I know if the browser is closing?