ASP .NET MVC – Throwing an exception when attempting to modify a read-only session
Say you managed to make the session read-only by applying a [SessionState(System.Web.SessionState.SessionStateBehavior.ReadOnly)]
on a controller.
Say you managed to make the session read-only by applying a [SessionState(System.Web.SessionState.SessionStateBehavior.ReadOnly)]
on a controller.