Hi Dot Net Gurus,
I am trying to implement a simple role based authorization using forms authentication in ASP.net. It works perfectly fine in my local system but fails when I deploy in production (shared hosting). Whenever I try to log in, rather than taking me to the default page in specified directory it throws me back to the login page. I suspect that there is some issues with the configuration but not sure where the problem is. The code is provided below:
Web.config (root): <authentication mode="Forms">
<forms name="userId" loginUrl="Login.aspx" defaultUrl="Default.aspx" path="/" timeout="240" requireSSL="false" />
</authentication>
Web.config (Member directory):
<configuration>
<appSettings/>
<connectionStrings/>
<system.web& ...
Go to the complete details ...