ASP.NET MVC: Do You Know Where Your TempData Is? - evilyzou - 博 ...
anything you put into TempData is discarded after the next request completes. This is useful for one-time messages, such as form validation errors. The important thing to take note of there is that this applies to