By default, is ASP.NET access control used to redirect ReturnURL?

If I put System.Web.UI.WebControls.Login on the page, should it be redirected to ReturnURL by default? Or do I need to set some configuration settings or write code to do this?

+3
source share
1 answer

Short answer: No

If you did not specify a value for the DestinationPageUrl property, the user will be redirected to the original page requested by the user after successfully logging in.

Full MSDN Source

, , -, , loginLog, web.config. :

, ReturnUrl .

+2

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


All Articles