ASP.NET Login Page

I want to add a login for registered users on my site. How can I continue it? Is this using sessions? What happens to the Session variable after logging out?

+3
source share
4 answers

Your question is extremely broad, and there are many ways that you can implement what is, in essence, a “membership” system for an ASP.NET website.

I would advise you to start by reading the article Introduction to Membership from MSDN. In this article, you will find an overview of how ASP.NET membership works in the most "standard" way.

ASP.NET(Login, LoginView, LoginStatus PasswordRecovery, ).

ASP.NET(, ASP.NET SQL SQL Server ) (.. ).

, :

, ASP.NET 2.0

4guysfromrolla. , .

+5

,

.NET

SO.

. , .

+1

Login Membership.

, . ASP.NET SessionState .

0

I would recommend using authentication using perhaps a custom backend using IIdentity and IPrincipal. There is a lot of information on how to do this, but I think this link is a good starting point http://msdn.microsoft.com/en-us/library/aa480476.aspx

0
source

Source: https://habr.com/ru/post/1706517/


All Articles