J
Joe Reazor
I have a fairly simple scenario. I have a root web that is set-up with a
web.config file that has forms authentication on and authorization to only
allow logged in users to get in. Under the root web I have another web
application that has its own web.config file. If I request a file in the
root web, I am correctly redirected to the login page, I login in (just a
simple code behind verification), and I call
FormsAuthentication.RedirectFromLoginPage which correctly sends me to my
originally requested page. So far so good. Now I want to access a file
under the second web application that is under that same root web.
Initially that web.config did not have authentication or authorization
set-up to protect the app, so I got right into the page I requested without
logging in. Then I figured I could remove the <authentication> and
<authorization> tags from this web.config and the one that was up one level
would take over. That did redirect me to the login page, but when I log in
correctly it does not redirect me to my originally requested page, it just
sends me back to the login page again. I even tried completely removing the
web.config in the lower application which yielded the same result. Is there
something I am missing here?
==============
Joe Reazor
Gorbel Inc.
email: joerea=AT=gorbel=DOT=com
web.config file that has forms authentication on and authorization to only
allow logged in users to get in. Under the root web I have another web
application that has its own web.config file. If I request a file in the
root web, I am correctly redirected to the login page, I login in (just a
simple code behind verification), and I call
FormsAuthentication.RedirectFromLoginPage which correctly sends me to my
originally requested page. So far so good. Now I want to access a file
under the second web application that is under that same root web.
Initially that web.config did not have authentication or authorization
set-up to protect the app, so I got right into the page I requested without
logging in. Then I figured I could remove the <authentication> and
<authorization> tags from this web.config and the one that was up one level
would take over. That did redirect me to the login page, but when I log in
correctly it does not redirect me to my originally requested page, it just
sends me back to the login page again. I even tried completely removing the
web.config in the lower application which yielded the same result. Is there
something I am missing here?
==============
Joe Reazor
Gorbel Inc.
email: joerea=AT=gorbel=DOT=com