title: Set authentication as true for the view of the control that performs the authentication in ASP.Net MVC
body: <p>In the authentication control I have the following line to mark a user as authenticated in the system (after checking out the password):</p>
  
  <pre><code>FormsAuth.SignIn(userName, rememberMe);
  </code></pre>
  
  <p>and if I redirect, which is the standard behvaior, everything is ok. But if I show a view right away, the usual ways to check whether a user is authenticated:</p>
  
  <pre><code>Page.User.Identity.IsAuthenticated
  Request.IsAuthenticated
  </code></pre>
  
  <p>don't work. They say the user is not authenticate. How can I make the authentication effective immediately or is there another way to check that would allow me to find out when the user just logged in?</p>