title: send the POST value after redirecting from Login in mvc 3
body: <p><strong>Scenario</strong>
  I am trying to build the forum in my admin panel using asp.net MVC 3 where only authorized user can update new post and comment on post. Below is my comment function of PostsController</p>
  
  <pre><code>  [Authorize]
          public ActionResult Comment(int id, string name, string email, string body)
          {
              Post post = GetPost(id);
              Comment comment = new Comment();
              User CurrentUser = repository.GetUser(User.Identity.Name);
              comment.UserID = CurrentUser.ID;
              comment.Post = post;
              comment.DateTime = DateTime.Now;
              comment.Name = User.Identity.Name;
              comment.Email = email;
              comment.Body = body;
              model.AddToComments(comment);
              model.SaveChanges();
              return RedirectToAction("Details", new { id = id });
  
          }
  </code></pre>
  
  <p><strong>Problem:</strong>
  If someone comment on the post who is not logged-on, page is redirected to login page and after logged-on with authorized access, post value of the comment form is not identified by Comment action. code for comment form is:</p>
  
  <pre><code> &lt;form action="@Href("~/Posts/Comment/" + post.ID)" method ="post"&gt;
              &lt;input type="text" id="commentNamePrompt" name="name" /&gt;
              Name (required) 
              &lt;br /&gt;
              &lt;input type="text" id="commentEmailPrompt" name="email" /&gt;
              Email (optional)
              &lt;br /&gt;
              &lt;textarea id="commentBodyInput" name="body" rows="10" cols="60"&gt;&lt;/textarea&gt;
              &lt;input type="submit" id="commentSubmitInput" name="submit" value="Submit!" /&gt;
              &lt;/form&gt;
  </code></pre>
  
  <p><strong>Error</strong></p>
  
  <pre><code>This property cannot be set to a null value.
  </code></pre>
  
  <p><strong>Tried:</strong>
  I have try logging first to the site and commenting on post and it works fine
  I am sure that the error is happened due to model post value  not passed after redirected to and from the login page.
  How can I redirect to authorized page with comment form post value updated by unauthorized user.</p>