keep viewdata on RedirectToAction
You can use TempData. TempData[“info”] = “The account has been created.”. TempData exists exactly for this situation. It uses Session as storage, but it will not be around after the second response. From MSDN: A typical use for a TempDataDictionary object is to pass data from an action method when it redirects to another action … Read more