Is there an equivalent to EnableSessionState=”ReadOnly”
in ASP.NET MVC? This directive was originally used in ASP.NET webforms but I find no trace of it in MVC.
views:
109answers:
1
A:
Soviut
2009-10-12 22:32:33
Actually the duplicate is this one:http://stackoverflow.com/questions/1464203/disable-session-state-per-request-in-asp-net-mvc. The one you posted (in an answer, no less) is a duplicate of a duplicate.
Robert Harvey
2009-10-12 23:01:23
Those posts don't quite answer the question though. It tells you how to disable session binding on requests but doesn't describe how to load session in ReadOnly mode.
Andrew Young
2009-10-12 23:11:02