How can I disable session state in ASP.NET MVC?

后端 未结 5 1040
闹比i
闹比i 2020-11-27 11:42

I would like to have a very lightweight ASP.NET MVC site which includes removing as many of the usual HttpModules as possible and disabling session state. However when I try

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 12:08

    If you need to use TempData for simple strings, you can use the CookieTempDataProvider in MvcFutures http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24471.

提交回复
热议问题