title: Session values not found after redirect
body: <p>In the Asp.net MVC Project I am redirecting my users to another page after login.</p>
  
  <p>On the development environment all my session variables return null.</p>
  
  <p>On Production however this works fine and session variables are retrieved correctly.</p>
  
  <p>can some One please explain why all variables are null on the development environment.</p>
  
  <pre><code> [AllowAnonymous]
   [HttpPost]
   public ActionResult Login(LoginModel model, string returnUrl)
   {
      // Some validations 
  
       if (Url.IsLocalUrl(returnUrl))
            {
                var urlDeCoded = HttpUtility.UrlDecode(returnUrl);
                var htmlDecoded = HttpUtility.HtmlDecode(urlDeCoded);
                return Redirect(htmlDecoded);
            }
   }
  
  /// Retreiveing session variables
   var vm = SessionData.GetCurrentObject&lt;MembershipWizardViewModel&gt;();
  </code></pre>
  
  <p>In web.Config I have the same value for sessionState on both Envirnoments i.e. "InProc"</p>