I am developing a web site with ASP.Net MVC 2. But i have some problems.
For example, i created an area name is Admin. I want to configure forms authentication to restrict access Admin area as anonymous user.
I added this code to root web.config file.
<forms loginUrl="~/Admin/LogIn/" timeout="2880" />
<deny users ="*"/>
But the system is not redirecting me to login page. It does nothing.