Membership.ValidateUser(username, password);
FormsAuthentication.SetAuthCookie(username, true);
ctlLogin.RedirectAfterLogin();
i used these codes on login.aspx page , now when i run the application it is always loggin as administrator even if the person is having user roleid
Ovaj sadržaj još nije ocijenjen.
353
Reputacija
46
Ukupno objava