I have been trying to find out how to perform user management features with C#/ASP.Net. I need to create users accounts, login, logout, etc... The only articles I have been able to find on this topic use the ASP.Net Membership Services that are pre-built.
I would like to learn how to create a basic membership system myself. I will create my own database.
Can anyone point me in the right direction? Are there any good (MSDN?) articles on how to do this?
Is it just a matter of setting a session variable Session["LoggedIn"] = 1? Of course this would be done after actually logging the user's in and validating the accounts. On each secure page, would I just check If Session["LoggedIn"] = 0 Redirect to Login.aspx?
I understand how to create the database, create password hashes, and validate them. I'm just not sure how to represent the user as being logged in. I would like to set this as a session variable, but I don't know if that metho ...
Go to the complete details ...