Does “TempData” preserve data in the next request also?

Posted by  Joseph Rossignol
C#
 310  View(s)
Ratings:
Rate this:
  1. Does “TempData” preserve data in the next request also?

    The “TempData” is available throughout for the current request and in the subsequent request, it’s available depending on whether “TempData” is read or not.

    So if “TempData” is once read it will not be available in the subsequent request.

Answer