Temp data loss after returning JSON type

Jan 17 2017 11:58 AM
I have lost temp data value after returning JSON type
 
Just like below :
 
public ActionResult OnlineFormAction(string test)
{
//some other code 
   TempData["TestTempData" + yournumber] = model;
 
   return Json(true, JsonRequestBehavior.AllowGet);
}
 

Answers (2)