title: Pass complex object with redirect in ASP.NET MVC?
body: <p><strong>Hi,</strong></p>
  
  <p>I have a action that looks like this : </p>
  
  <pre><code>[AcceptVerbs(HttpVerbs.Post)]
          public ActionResult Register(AdRegister adRegister, IEnumerable&lt;HttpPostedFileBase&gt; files)
  </code></pre>
  
  <p>The AdRegister is a complex class and I need to pass this in to a redirect method further down in the Register action, like this :</p>
  
  <pre><code>return this.RedirectToAction("Validate", adRegister);
  </code></pre>
  
  <p>The Validate action looks like this : </p>
  
  <pre><code>public ActionResult Validate(AdRegister adRegister)
  </code></pre>
  
  <p>I do know that I can pass simple parameters but in this case it´s a complex object. This example do not work, the adRegister´s properties will be null.</p>
  
  <p>Is this posible and if so, how?</p>
  
  <p><strong>BestRegards</strong></p>
  
  <p><strong>More Information :</strong> Register action will take the adRegister and do som magic on it, then It will be sent to the Validate action. The Validate action will return a validation page to the user. When the user hit the grant button the adRgister will be filled from the form and then sent to the vValidate post where it will be saved. I have looked in to place the adRegister in cache or database temporarily but it will be better if I could simple pass it to the next action.</p>