I would maybe try Application variables in the web.config file ... that then can be easily set from c#. I would also look at the HttpModule that many like to use for App begin, request begin, error ... it is also a helpful spot.
http://msdn.microsoft.com/en-us/magazine/bb985530.aspx Now, the application by default terminates after 29 hours of no use. I personally would throw them in a text file and have the text file values updated with a special class just for that, at the same time the Application variable itself changes. Then, when the HttpModule's Init kicks in ... after the App has died and is coming back to life ... you can reload those values into the App with a quick private function in HttpModule class. This all assumes the changes to the App variables are going to be done dynamically vs manually. Anyway, take care.
