Thursday, April 26, 2012



user.CurrentUser = User.Identity.Name;

lblResult.Text =
//add user Id to session
Session.Add(
Session.Add(
(A)
Response.Redirect(
(B)



string token = "0x" + FormsAuthentication.HashPasswordForStoringInConfigFile("cardnumber.Substring(8,8)", "MD5");
FormsAuthentication.Authenticate(username,password);FormsAuthentication.RedirectFromLoginPage(username,false);FormsAuthentication.SignOut();"yeah!!yeah!!";"UserId", user.Id);"Login", user);"Default.aspx?uId=" + user.getUserId().ToString(),false);

No comments:

Post a Comment