i m building software in asp.net..and i have managed sessions...i have provided logout link..so when user clicks it the session will get terminated..but what if some one directly closes browser? so i want to check browser close event so that when browser is directly closed at that time i can terminate the session..so help me in that? how to check wether browser is closed...!!!!!