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.
You could put your value in the Items
collection of the HttpContext
object.
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.
You could put your value in the Items
collection of the HttpContext
object.
精彩评论