title: Check if currently logged in user has persistent authcookie
body: <p>I need to edit userdata in an a FormsAuthentication AuthCookie of the currently logged in user. I don't see how to find out if the current user has chosen a persistent cookie ("Remember Me").</p>
  
  <pre><code>//user is already logged in...
  
  HttpCookie authCookie = FormsAuthentication.GetAuthCookie(username, ispersistant); //how to I determine 'ispersistant'?
  
  FormsAuthenticationTicket ticket = FormsAuthentication.Decrypt(authCookie.Value);
  
  FormsAuthenticationTicket newTicket = new FormsAuthenticationTicket(ticket.Version, ticket.Name, ticket.IssueDate, ticket.Expiration, ticket.IsPersistent, NEWuserdata);
  
  authCookie.Value = FormsAuthentication.Encrypt(newTicket);
  
  HttpContext.Current.Response.SetCookie(authCookie);
  </code></pre>
  
  <p>Anybody got any ideas?
  Thanks</p>