i am creating an MVC application.There was a neccessitity to make a variable in a session to null upon closing of the application (i.e. window/tab) but not upon refreshing t
dont use (e.keyCode == 116) to ckeck F5 ; instead of use this