I have a table in database called Customer, I want to enable them to log in website? Is there any good practice to suggest? Thanks!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Enable forms authentication in web.config.
Create a login page, and in login method, validate the user. Use FormsAuthentication class to set the authentication cookie.
Here is a write up for the forms authentication
If you create an asp.net mvc site project in visual studio, you will see an implementation of authentication.