title: Forms authentication timeout vs sessionState timeout
body: <p>I have code that i am looking through regarding session time outs of the website. In the web.config i came across this code.</p>
  
  <pre><code> &lt;authentication mode="Forms"&gt;
    &lt;forms loginUrl="~/Auth/SignOn.aspx" timeout="40" slidingExpiration="true" /&gt;
  &lt;/authentication&gt;
  
  &lt;sessionState timeout="30" /&gt;
  </code></pre>
  
  <p>Does anyone know if one takes precedent over the other, and how they are different. Thanks.</p>