DOES “TEMPDATA” PRESERVE DATA IN THE NEXT REQUEST ALSO?

Anupam Mishra

Total Post:135

Points:949
Posted by  Anupam Mishra
 627  View(s)
Ratings:
Rate this:
Hi,
Does “TempData” preserve data in the next request also? Please give me a solution.

Thank you in advance.
  1. Manoj Bhatt

    Post:154

    Points:1086
    Re: Does “TempData” preserve data in the next request also?

    If  TempData is available through out 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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!