ASP.NET MVC 3 FilterAttribute - setting a variable that will be accessible in the Controller
In a FilterAttribute I am making in MVC3, I want to set a variable that will be accessible inside my Controller. How can I do this? Is it possible? Thank you.
Solution
You could put your value in the Items collection of the HttpContext object.