Asp.net LoginView saves redirect to default.aspx, how to change?

I have a LoginView control on my home page, when I click "Login", it goes to the login page. When the data is authenticated, it is redirected to default.aspx, I do not have default.aspx - where can I change this?

This is the only thing I see wrong:

FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet);
+3
source share
2 answers

Sets the default value. Url indicates where to go.

http://msdn.microsoft.com/en-us/library/1d3t3c61.aspx

+3
source

, . FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet); , .

, - , "". IE: , : " xxx/Logout Link.

0

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


All Articles