C
Chris
Hi,
I am using forms Auth on my WEB APP. I am checking the credentials in sql
server. When a user request any page other than login.aspx they get the page.
Shouldn't they be forwarded first to the Login.aspx? This is a section of my
web.config file
-->
<authentication mode="Forms">
<forms name ="reportcenterAuth" loginUrl="login.aspx" protection="All"
timeout="60" path="/"> </forms>
</authentication>
<!-- AUTHORIZATION
This section sets the authorization policies of the application.
You can allow or deny access
to application resources by user or role. Wildcards: "*" mean
everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<deny users="?" />
<allow users="*" /> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
Any ideas. I want when they first start the app and select any page they are
automatically forwarded to the login.aspx. Also when the user close the
browser and revisit the page they are also forwarded to the login.aspx.
Thanks
I am using forms Auth on my WEB APP. I am checking the credentials in sql
server. When a user request any page other than login.aspx they get the page.
Shouldn't they be forwarded first to the Login.aspx? This is a section of my
web.config file
-->
<authentication mode="Forms">
<forms name ="reportcenterAuth" loginUrl="login.aspx" protection="All"
timeout="60" path="/"> </forms>
</authentication>
<!-- AUTHORIZATION
This section sets the authorization policies of the application.
You can allow or deny access
to application resources by user or role. Wildcards: "*" mean
everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<deny users="?" />
<allow users="*" /> <!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
Any ideas. I want when they first start the app and select any page they are
automatically forwarded to the login.aspx. Also when the user close the
browser and revisit the page they are also forwarded to the login.aspx.
Thanks