J
JTR
I'm trying to create a structure I can share
authentication from a root application with many
subordinate applications (subfolders).
The web.config file for the root has:
<authorization>
<allow users="*" />
</authorization>
Then, each subordinate application (subfolder) has a
web.config with the following:
<authentication mode="Forms">
<forms name=".BUZZARD"
loginUrl="../login.aspx">
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
When the user access a resource in a subfolder, the login
form is displayed and authenticates the user correctly,
including the creation of an authentication ticket. But,
when the login form attempts to redirect the browser to
the requested secure resource, the login form is
redisplayed. I have tried using
FormsAuthentication.RedirectFromLoginPage() and
Response.Redirect() with the same results.
Any ideas?
JTR.
authentication from a root application with many
subordinate applications (subfolders).
The web.config file for the root has:
<authorization>
<allow users="*" />
</authorization>
Then, each subordinate application (subfolder) has a
web.config with the following:
<authentication mode="Forms">
<forms name=".BUZZARD"
loginUrl="../login.aspx">
</forms>
</authentication>
<authorization>
<deny users="?" />
</authorization>
When the user access a resource in a subfolder, the login
form is displayed and authenticates the user correctly,
including the creation of an authentication ticket. But,
when the login form attempts to redirect the browser to
the requested secure resource, the login form is
redisplayed. I have tried using
FormsAuthentication.RedirectFromLoginPage() and
Response.Redirect() with the same results.
Any ideas?
JTR.