【发布时间】:2011-05-07 13:38:11
【问题描述】:
阅读Guru-Gu's blog post about ASP.NET MVC3 hitting RC,他说:-
无会话控制器支持
您现在可以指明是否需要 使用会话状态的控制器类 – 如果是这样,您是否希望它成为 读/写或只读。读/写或只读。
有人可以解释一下某些情况下有人可能想要一个无会话控制器吗?还是只读控制器?
我一直在创建separate IIS website which I use to handle all static images/content and then have this same website have session state turned off ...因此不会通过网络发送任何 cookie。这是类似的情况吗?
【问题讨论】:
标签: asp.net-mvc asp.net-mvc-3 controllers session-less