I have a variable declared called "Context" which is of type System.Web.HttpApplication
On this variable I access a list called "Application" as follows.
Context.Application.Add("NameOfItem", ItemToStore)
What I want to do is use the Global.asx file to save the contents of the "Application" list to a file when IIS restarts/recycles and reload that data into the new "Application" list when it's back up and running.
The reason for this is that I need to keep data in there that persists in the application at all times.
Sorry for the noobish way this is written.. I've been kinda dropped in at the deep end with ASP.Net. I come from a PHP background.