2009-11-03 8 views

Répondre

2

Explained: Forms Authentication in ASP.NET 2.0

FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, 
     "userName", 
     DateTime.Now, 
     DateTime.Now.AddMinutes(30), // value of time out property 
     false, // Value of IsPersistent property 
     String.Empty, 
     FormsAuthentication.FormsCookiePath); 
Questions connexes