Last post Apr 30, 2018 09:21 AM by Yohann Lu
Apr 27, 2018 11:24 PM|ishfaqjeelani|LINK
I have following _Layout.cshtml page
<meta name="viewport" content="width=device-width" />
<p>User is Authenticated</p>
<a asp-action="Logout" asp-controller="Account">Logout</a>
<p>User is NOT Authenticated</p>
<a asp-action="Register" asp-controller="Account">Register</a>
<a asp-action="Login" asp-controller="Account">Login</a>
but when I signed, it signed it but "else" part of the code is running.
Apr 30, 2018 09:21 AM|Yohann Lu|LINK
What type of authentication do you use with your asp.net project?
You can refer the following article.
Security, Authentication, and Authorization with ASP.NET:
Then, you can use F12 develper tools to get the debug message and include all necessary code snippets for anyone else to be able to reproduce your issue from scratch along with a detailed description.