How can I cache variables in ASP.NET on page level? That is, I want to cache any variables that is loaded during the load cycle of the page, but once the page is fully loaded, I want the variable to be dumped.
UPDATE: I want the data to be cached on the server.
It sounds like you just need to declare your variables at the class level, e.g:
Unless I’m missing something obvious