title: How to set Request.IsAuthenticated to true when not using FormsAuthentication.RedirectFromLoginPage?
body: <p>I am using Form Authentication and sending an Aajx request to the server for authentication. Based on the json result, the client decides where to go and what to do. That is the reason I am not using FormsAuthentication.RedirectFromLoginPage to not interfere the ajax/json response.</p>
  
  <p>In this case Request.IsAuthenticated returns false, even after validating the user with Membership.ValidateUser. Then I set the cookie using </p>
  
  <pre><code>FormsAuthentication.SetAuthCookie(username, false);
  </code></pre>
  
  <p>Although the second parameter, persistent cookie, is false, the cookie is still valid across browser sessions.</p>
  
  <p>Any idea how to make Request.IsAuthenticated work without using FormsAuthentication.RedirectFromLoginPage?</p>