Answer Posted / Shashi Kant
In ASP.NET MVC, you can use the System.Web.SessionState.HttpSessionStateBase class to work with sessions. Sessions store data specific to a user for the duration of their visit or until it times out. To access the Session object in your controller, simply write `HttpSessionStateBase Session`.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers