title: ASP.NET Forms Authentication - Multiple Logins
body: <p>I'm sure variations of this question have been asked many times before, but I can't quite find the answer.</p>
  
  <p>I have a website that is an online shop. We have the following login/account management requirements:</p>
  
  <p>Members of the Admin role to login to /Admin
  Members of the Pro role to login to /Pro
  Members of the Customer role do not have a specific area they login to, but at the checkout we want them to be able to login so they don't have to fill in their delivery details again.</p>
  
  <p>Therefore we would like the url structure to be something like:</p>
  
  <p>/Checkout.aspx (/login form)
  /Admin/Login.aspx
  /Pro/Login.aspx (the only slight exception here is that we do want the users to be able to access the /Pro/Register.aspx page without being logged in - for obvious reasons)</p>
  
  <p>I read this was possible if I remove the authentication configuration from the main web.config and created a web.config file in each of the pro and admin folders. In IIS 7 I changed the folders to applications, but then the pages couldn't access the masterpages from the main site.</p>
  
  <p>Am I going about it in the right way?</p>
  
  <p>Thanks in advance.</p>
  
  <p>Al</p>