Forms Authentication

G

Guest

I have web application and made Forms Authentication on it .
it contains sub folder name "Presents"that I need to make some people haev
rights to access it,s resources . so i put another web,config file in it
"rather than the one in webapplication ".
but when the client try to login from login.aspx page , to access Page in
"Presents" Folder with right Credentials , the
FormsAuthentication.RedirectFromLoginPage()
Redirect the Request to the login.aspx again .
i need way to make the appliaction take the second web.config in "Presents"
Folder
and permit the Authorized Uaser to Access Recources Based on right Roles ,
that the login.aspx page give it to him .
 
G

Guest

If the application web.config denies the user from reaching to the subfolder
then the settings in the subfolder's web.config will never take effect. You
got to allow access to that subfolder first in the application web.config for
the user’s authenticated role.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top