ViewBag value never expire or expire after long time in MVC
In MVC application I store and get value from controller to view using ViewBag. It's value is expiring even after 3-5 minutes. I want to store and access it's value for long time approx 1-3 hour in MVC. Please suggest how can I do it?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 24, 2018, 11:44 PM EDT