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

Joseph Rossignol

Total Post:6

Points:30

Posted by  Joseph Rossignol
C#
 76  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