FormsAuthentication
   FormsAuthentication.SetAuthCookie(sUserID, false);
                FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(
                1,
                sUserID,
                DateTime.Now,
                DateTime.Now.AddMinutes(30),
                false,
                sUserInfo,
                FormsAuthentication.FormsCookiePath);
                string hash = FormsAuthentication.Encrypt(ticket);
                HttpCookie cookie = new HttpCookie(FormsAuthentication.FormsCookieName, hash);
                Response.Cookies.Add(cookie);