TempData and FlashMessage in ASP.NET MVC

We had a new requirement in a project: We need to display a message to the users after they did some kind of action, but that message needed to disappear before the next request. We tried to do this using Session, but that didn't work out very well; after all, there's another construct we can use that does exactly this kind of thing: TempData. TempData originally (MVC1) only stored the data until the next request, but as of MVC2 it... Read more >