How do I reference an application state variable from a .net component class?
I know how to do it from a web page, eg. application("myVariable"). But this doesn't work in my business object.
How do I reference an application state variable from a .net component class?
I know how to do it from a web page, eg. application("myVariable"). But this doesn't work in my business object.
Use the HttpContext class - System.Web.HttpContext.Current :)
Brilliant - thank you very much.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.