title: What's the difference between the timeout property specified in the Web.Config and the ExpiryDate property of the FormsAuthenticationTicket?
body: <p>In the Web.Config we have a timeout property. Ex:</p>
  
  <pre><code>&lt;authentication mode="Forms"&gt;
        &lt;forms loginUrl="~/Login.aspx" timeout="2880"/&gt;
      &lt;/authentication&gt;
  </code></pre>
  
  <p>When loggin in, we can specify a ticket expiry date. Ex:</p>
  
  <pre><code>FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(
                       1, id.ToString(), DateTime.Now, expiryDate, true,
                       securityToken, FormsAuthentication.FormsCookiePath);
  </code></pre>
  
  <p>Why there's two places where I can set expiration info about forms-authentication? What's the difference between them? What has more relevance?</p>