title: Persistent cookie not acting very persistent
body: <p>I have implemented a custom membership provider and now I wish to provide my users with the option to let the website remember them, so they do not have to log in every single time they visit.</p>
  
  <p>I've set my cookie to persistent, but it is not acting very persistent. When I close the browser and open it again after logging in the website requires that I log in again.</p>
  
  <pre><code>FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket(
                  1,
                  model.UserName,
                  DateTime.Now,
                  (model.RememberMe == true ? DateTime.Now.AddDays(7) : DateTime.Now.AddMinutes(60)),
                  model.RememberMe,
                  userData);
              string encTicket = FormsAuthentication.Encrypt(authTicket);
              HttpCookie cookie = new HttpCookie(FormsAuthentication.FormsCookieName, encTicket);
              Response.Cookies.Add(cookie);
  
              return RedirectToAction("Index", "Home");
  </code></pre>
  
  <p>model.RememberMe is in this case a boolean with the value of true, proven by the Visual Studio debugger.</p>
  
  <p>Am I doing something blatantly wrong here? </p>