I added some custom fields (public booleans) to the global class in global.asax.cs which are initialized during the Application_Start event. How do I access them in a webhandler (ashx)? Or is it better to save them in the Application state object?
I added some custom fields (public booleans) to the global class in global.asax.cs which
Share
You would probably need to access the class as the type that your Global.asax.cs is rather than the type it is inheriting from.
I believe it is more common to just use the Application State object for application wide variables.