Let's say I want to store the user's First and Last name in the client-side cache (browser) which will be fetched throughout the site. This will then expire after some time. How can I do this using ASP.NET MVC (i.e. storing and fetching data in the cache through the controller)?
I tried using HttpContext.Current.Cache but that apparently uses server-side caching. So what happened was when users logged in at the same time, they were getting a different first and last name.
Thanks!