title: ASP.NET MVC CookieTempDataProvider.DeserializeTempData returns null
body: <p>I've been trying to use CookieTempDataProvider to pass a basic message between a post (entity update) and a get (entity list) using the RedirectToAction method. When using the default TempData implementation this works fine, however when I use the cookie-based version from the MVC Futures project, the TempData dictionary is empty after the redirect. This is because the TempDataDictionary is returned as null from the DeserializeTempData method. I know exactly what line of code the problem occurs on, and I know how to fix it, but I can't believe that I'm the only one to have this problem.</p>
  
  <p>Maybe I'm using the wrong version of the MVC Futures project, but I've just downloaded the <a href="http://aspnet.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=24471" rel="nofollow noreferrer">ASP.NET MVC v1.0 source</a> and the problem definitely exists there. Does anyone else use CookieTempDataProvider, and does it work for you?</p>
  
  <p>The problem with the CookieTempDataProvider class, as I see it, is on line 62, where it is casting the deserialized object as TempDataDictionary instead of as IDictionary&lt;string, object&gt;. When I make this change, everything works perfectly.</p>
  
  <p>Anyone else see this problem, or is it just me?</p>