私の MVC3 プロジェクトには、アクション間でデータを渡すために使用している TempData[] がたくさんあります。そして、Chrome を使用すると完全に機能します。しかし、IE では TempData[] 項目の値を取得できません。誰かが問題を知っていて、どうすれば解決できますか?
public class SomeController : Controller
{
public ActionResult SomeAction()
{
TempData["id"] = "someData";
return View();
}
}
public class AnotherController : Controller
{
public ActionResult AnotherAction()
{
string data = Convert.ToString(TempData["id"]);
return View();
}
}
`