Login Url mention needed ?

Posted by Jayakumars under .NET Core on 8/16/2020 | Points: 10 | Views : 570 | Status : [Member] [MVP] | Replies : 1
<appSettings>
<add key="owin:AutomaticAppStartup" value="false" />
</appSettings>
<system.web>


<authentication mode="Forms">
<forms slidingExpiration="true" timeout="30" loginUrl="~/NewFolder1/Login1.aspx" cookieless="UseDeviceProfile" protection="All" defaultUrl="~/Home.aspx" />
</authentication>
<authorization>
<deny users="?" />
</authorization>


<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="DBAuthServices" applicationName="Web" />
</providers>
</membership>


Login Url Must for this?

Mark as Answer if its helpful to you

Kumaraspcode2009@gmail.com



Responses

Posted by: Raja on: 8/17/2020 [Member] Starter | Points: 25

Up
0
Down
Yes, its needed that help the framework to redirect the user to the login page.

Regards,
Raja, USA

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response