Hi,
I added the following to my web.config to redirect the user to the login page if they aren't authenticated, but going to the URL does cause a redirect?
<location path="user/add">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
I have setup forms authen. like this:
<authentication mode="Forms">
<forms loginUrl="/user/login"
protection="All"
timeout="30"
name="MyCookie"
requireSSL="false"
slidingExpiration="true"
defaultUrl="default.aspx"
/>
</authentication>
Using .net and mvc.