Example website login/registration code?

Posted by Phil Wright on Stack Overflow See other posts from Stack Overflow or by Phil Wright
Published on 2010-03-13T00:28:02Z Indexed on 2010/03/13 0:37 UTC
Read the original article Hit count: 497

Filed under:
|
|

I am looking at building the login/registration part of a website (ASP.NET) and would like to see some example code or instructions on how to do this properly. For example, how to correctly use cookies and how to encrypt what is stored in the cookie to ensure the session persists until they logout/timeout.

I do not want to use the builtin ASP.NET Membership/Provider stuff as it looks painful to use and not very flexible. Please do not answer with 'This is how easy the ASP.NET Membership/Providre stuff is to use, just check this out and you will use it!' as I don't want to use it!

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about login