title: .NET Forms Authentication with no timeout
body: <p>How can I set up <a href="https://msdn.microsoft.com/en-us/library/xdt4thhy.aspx" rel="nofollow noreferrer">forms authentication</a> with no timeout?<br>
  I read across multiple sites that it's not recommended to use a high value in <code>timeout</code>, so I'm wondering how can I set up my forms so that the only way users can sign out is through the sign out button.<br>
  I know there is <code>slidingExpiration</code> and I can create a persistent cookie but in this case I'm dealing with a single page app where users just have to edit fields in a GridView and all that it's made with AJAX, so unless I refresh the page with some meta refresh tag (which I don't want to) I'm having a hard time overcoming this challenge.  </p>
  
  <p>What can I do?  </p>
  
  <p>And if I want to persist the session across different browsers how can I achieve that? <a href="https://msdn.microsoft.com/en-us/library/system.web.security.sqlmembershipprovider.aspx" rel="nofollow noreferrer">SqlMembershipProvider</a>?</p>