PDA

Click to See Complete Forum and Search --> : Authentication on Sub Folders


Comn8u
Aug 26th, 2004, 08:02 AM
I'm confused about how to add authentication to sub folders without affecting the root level. Is that you leave the web.config file intact on the root level and just add a web.config file with the authentication?

I'm using a database driven username/password, but I'm having problems getting the login page to work correctly. When I add the web.config file to the sub folder, I cannot access any of the pages in that folder. What do I have to add to each page that is in the authenticated sub folder in order for them to work? How do I chain all the pages together? Is it by using a session variable?

nemaroller
Aug 26th, 2004, 10:44 AM
Don't add another web.config...

google
http://www.google.com/search?hl=en&ie=UTF-8&q=location+tag+web.config