I am having problems redirecting to the login page when a user tries to access a page that requires authorization. For some reason, he wants to direct:
http:
When it should be redirected to:
http:
I am sure I installed it correctly in the web.config file:
<authentication mode="Forms"> <forms loginUrl="~/Account/LogOn" timeout="2880" /> </authentication>
but for some reason it still redirects incorrectly. I also searched for βLoginβ in my entire decision and did not see another place where the account / login will be indicated.
How can I fix this to redirect correctly?
source share