J
Jensen bredal
Hello,
I'm trying to protect my pages by allowing only authenticated users to view
them.
I have therefore taken the following action in web.config:
<authentication mode="Forms">
<forms name=".Mycookiename" loginUrl="Login.aspx" protection="All"
timeout="30" path="/">
</forms>
</authentication>
---
---
---
<authorization>
<allow users="?" /> <!-- Allow all users -->
</authorization>
But when i attempt to view any page in my virtual directory,
i'm not redirected to the login page. What i'm i doing wrong?
Many thanks in advance
JB
I'm trying to protect my pages by allowing only authenticated users to view
them.
I have therefore taken the following action in web.config:
<authentication mode="Forms">
<forms name=".Mycookiename" loginUrl="Login.aspx" protection="All"
timeout="30" path="/">
</forms>
</authentication>
---
---
---
<authorization>
<allow users="?" /> <!-- Allow all users -->
</authorization>
But when i attempt to view any page in my virtual directory,
i'm not redirected to the login page. What i'm i doing wrong?
Many thanks in advance
JB