ASP.NET_SessionId cookie being set too late for TempData to work
We are using TempData in an ASP.NET MVC website to transmit success messages around the place, however we have discovered that setting TempData["message"]
does not work as expected the first time.