How to clean up page variables when user closes the web page?
Hi, I'm using vs2012.
I have several variables declared under the page class, public partial class _Default : Page
What's the best way to dispose() or clean up these variables? I tried accessing them from Global.asax.cs in the Applicaiton-End event but I wasn't able to access these variables when I type in namesapce._Default. None of the variables show up.
How to clean these up?