How does one discard a session variable while closing Web Page?
问题 We are following a procedure in our work while developing a web page, is to bind page to one or more session variables, these session variables are used only for that page, to hold current processing objects, so while closing page no need for them. How could I discard these session variables while closing page? Any suggestions regarding that technique or how to solve that problem? 回答1: There is no server-side event that is raised when a page is left/closed. Also the Session_End event