title: Session that never expires like on stackoverflow.com, unless the user clicks logout
body: <p>I am building a asp.net mvc application. 
  I want session to never expire, once the user login, unless the user clicks on logout.</p>
  
  <p>Whats the best way of doing it?</p>
  
  <p>I have used </p>
  
  <pre><code>FormsAuthentication.SetAuthCookie(userName, createPersistentCookie);
  </code></pre>
  
  <p>and set createPersistentCookie to true, but still I get logged out after sometime.</p>