Since there is no concept of session in ASP .NET MVC and each request is independent of each other, I use it anytime Can not Cache Object In Internal Cache Data To Reduce DB Access? Output caching functionality is great for caching visual data, but what if I want to cache something like a user profile that I should share between requests from the same user?
Thanks
Surely the concept of a session in MVC is ... Session data is persisted on all requests I think you can get confused with Vivestate, which is on the same page in postback and is not applicable in MVC.
Comments
Post a Comment