Click here to Skip to main content
16,016,088 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to authenticate when you log-in to your username and password..
Posted

The easiest way is to use Membership: Introduction to Membership[^] - it handles all teh nuts and bolts for you, and does a lot of other useful things, like enforcing "you must be logged in to view this page" and so forth.
 
Share this answer
 
Check the following link


http://msdn.microsoft.com/en-us/library/ff648345.aspx[^]

You can use Membership provider to implement it in your site. SQLMembershipProvider can be used if your database in SQL Server. If the database is other than SQL Server, you have to inherit the class MembershipProvider and override ValidateUser method.

Thanks
Subhendu
 
Share this answer
 
Just use the goddamn ASP.Net Membership provider...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900