i wanted to know if i could let my aspx page execute a line of code everythime the page is closed ( for example if some click the exit button in the internet browser) i tried using the Page_Unload but it didn't work i am not sure if thats what i should be using or if i implemented correctly can someone help me please