I need to make the session readonly so I can establish multiple requests to a page that uses sessions variables but in the readonly mode.
Since all the process are p
If you use ASP.NET MVC, you can use the SessionStateAttribute
class on the controller level.
[SessionState(SessionStateBehavior.ReadOnly)]
If you want to control the behavior on an action level, you can use this:
https://www.c-sharpcorner.com/UploadFile/ff2f08/session-state-behavior-per-action-in-Asp-Net-mvc/
If you use ASP.NET Web Forms, I am not quite sure, but it should be something along these lines...