Hi Everyone
I developed an application using asp.net Webforms and Same application in MVC, I used Forms Authentication like bellow
<authentication mode="Forms">
<forms loginUrl="Login/Create" defaultUrl="HomePage/Index">
</forms>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
</system.web>
When i run the application the url will become like this
http://localhost:2817/Login/Create?ReturnUrl=%2f
i dont know why this adding ReturnUrl=%2f
Even after entering username and password again its redirect to login page like bellow
http://localhost:2817/
Again i have to enter user name and password then it will redirect to Home page/ Home Controller and work fine.
This problem am facing even development, Deployment to Local IIS and Even in Production server as well.
Please solve my issue.. Thank you in advance