www.webdeveloper.com
Results 1 to 2 of 2

Thread: Authentication on Sub Folders

  1. #1
    Join Date
    Jul 2004
    Posts
    61

    Authentication on Sub Folders

    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?

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    1 web.config per application. If the sub folder is set as its own application the web.config can act independently of the one in the root folder because the folder it is in is its own application.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles