阅读背景:

在动作过滤器或静态方法中存储会话变量

来源:互联网 

Right now I am using a session variable to store a boolean value which I then use in my views. I know that HttpContext.Session[] variables are static, but does that mean I need to store them in a static method, or can I keep them in my action filter and call them directly from there?Right now I am using a session variable to stor




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: