0
我試圖使用TempData的[]在MVC3控制器和我遇到了以下錯誤:TempData的[]使用在MVC3控制器犯錯瓦特/ SessionStateTempDataProvider類需要會話狀態啓用
The SessionStateTempDataProvider class requires session state to be enabled.
在webconfig(不是我的代碼或項目),而是......被設置以下
<modules runAllManagedModulesForAllRequests="true">
<add name="Custom http Module" type="CustomHttpModule" />
</modules>
其中CustomHttpModule:
public class CustomHttpModule: IHttpModule
這是一個配置設置,我可以更改或可能定義在此CustomHttpModule類?
太棒了......並且很好的瞭解分佈式洞察力。謝謝Darin! – JaJ