title: Hide Route values when using RedirectToAction
body: <pre><code>    [HttpGet]
      public ActionResult Index()
      {
          return View();
      }
  
      [HttpPost]
      public ActionResult Index(HomeOfficeViewModel viewModel)
      {
          return RedirectToAction("SearchResults", "HomeOffice", viewModel);
      }
  
      public ActionResult SearchResults(HomeOfficeViewModel viewModel)
      {
          if (viewModel.FirstName != null &amp;&amp; viewModel.LastName == null &amp;&amp; viewModel.FullSsn == null)
          {
              List&lt;Domain.Model.PolicyHolder&gt; ph = _policyHolderRepository.Where(x =&gt; x.FirstName == viewModel.FirstName).ToList();
              if (ph.Count != 0)
              {
                  var searchresults = from p in ph
                                      select new SearchResultsViewModel
                                                 {
                                                     FullSsn = p.Ssn,
                                                     FullName = p.FirstName + " " + p.LastName,
                                                     UserId = p.UserId
                                                 };
                  TempData["SearchedItem"] = "&lt;&lt;&lt; First Name &gt;&gt;&gt; is '" + viewModel.FirstName + "'";
                  return View("SearchResults", new SearchResultsViewModel() {SearchResults = searchresults.ToList()});
              }
              else
              {
                  ModelState.Clear();
                  ModelState.AddModelError("Error", "First Name searched does not exist in our records");
                  return View("Index");
              }
          }
  
          else
          {
              return View();
          }
   }
  </code></pre>
  
  <p>values in the viewModel are being shown in the url like this</p>
  
  <p><a href="http://sample.url.com/HomeOffice/SearchResults?FirstName=testing" rel="nofollow">http://sample.url.com/HomeOffice/SearchResults?FirstName=testing</a></p>
  
  <p>I should not show them in the url because I will be sending ssn. Is there  a way to hide them or any better way to do this.</p>
  
  <p>Thanks.</p>