title: MVC identity || Disable all cookies and "remember me" option?
body: <p>I'm using MVC 4 with identity 2.0 and i have in my site (out of the box feature) "Remember me" and i want to disable this option and have one of this two option in my site:</p>
  
  <p>1.user will need to log in (enter username &amp; password) every time he uses my site.</p>
  
  <p>2.user will need to log in every time <strong>but</strong> the site will remember him for 30 min and not force him to do log-in in that time period(30 min in our situation).</p>
  
  <p><strong>How can i accomplish those 3 things ?</strong></p>
  
  <p>to disable i just comment the check box in the login page i think it will do the trick :)</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>When i set this :</p>
  
  <pre><code>   app.UseCookieAuthentication(new CookieAuthenticationOptions
          {
              AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
              LoginPath = new PathString("/Logon/LogOn"),
              ExpireTimeSpan = TimeSpan.FromMinutes(30),
          });
  </code></pre>
  
  <p>Do i need to comment/delete this code from there:</p>
  
  <pre><code>app.UseCookieAuthentication(new CookieAuthenticationOptions
              {
                  AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie,
                  LoginPath = new PathString("/Account/Login"),
                  Provider = new CookieAuthenticationProvider
                  {
                      OnValidateIdentity = SecurityStampValidator.OnValidateIdentity&lt;ApplicationUserManager, ApplicationUser&gt;(
                          validateInterval: TimeSpan.FromMinutes(30),
                          regenerateIdentity: (manager, user) =&gt; user.GenerateUserIdentityAsync(manager))
                  }
              });
  
              app.UseExternalSignInCookie(DefaultAuthenticationTypes.ExternalCookie);
  </code></pre>