I trying to figure out how to create a login 'system' for my website.
I know there is the default Login Control but I seem unable to link it to my custom database.
Also I want to know how to write my own rather than using default codes, as to learn more.
My question is how should I go about doing this?
- Should I use Sessions? (if so how much space does this requite per user on the server?)
- Should I use a stored procedure for the login procedure? ( I know how to create Stored Procedures, working on outputting the data now )
- How should I 'save' the users state? as I have a value in the database stating whether he is one of the following: (banned, not_activated, user, admin, etc. not_activated would only happen after first login where it prompts the user for a activation code after which he/she is converted to a user).
- How should I go about the 'remember me' part?
Examples/Tutorials would be welcome.
I use ASP.net4 with C#
Thanks for the help in advanced
View Complete Post