S
Steven Nagy
Hi All,
I can successfully specify access levels to folders and files with no
problem through web.config.
In my application I have 2 folders off root:
/Admin/
/Members/
When a person tries to go to /Admin/default.aspx they should get
redirected to /Admin/login.aspx
Similarly, when a person tries to go to /Members/default.aspx they
should get redirected to /Members/login.aspx
As it stands, I can only specify one login page for the application,
which is currenly set to /Admin/login.aspx.
So currently if the unlogged in user tries to go to /Members/
default.aspx they end up redirected to /Admin/login.aspx.
Naturally I COULD have just one login page and redirect the user
depending on role. But I'd like to solve the above problem first.
Can this be done in web.config with all the other authentication
settings?
Cheers,
Steven
I can successfully specify access levels to folders and files with no
problem through web.config.
In my application I have 2 folders off root:
/Admin/
/Members/
When a person tries to go to /Admin/default.aspx they should get
redirected to /Admin/login.aspx
Similarly, when a person tries to go to /Members/default.aspx they
should get redirected to /Members/login.aspx
As it stands, I can only specify one login page for the application,
which is currenly set to /Admin/login.aspx.
So currently if the unlogged in user tries to go to /Members/
default.aspx they end up redirected to /Admin/login.aspx.
Naturally I COULD have just one login page and redirect the user
depending on role. But I'd like to solve the above problem first.
Can this be done in web.config with all the other authentication
settings?
Cheers,
Steven