The situation is this:
We have several (19) sites that are currently configured to share a single ASP Membership database using different applicationNames, such as:
<membership defaultProvider="Site1Membership">
<providers>
<add
applicationName="/site1"
name="Site1Membership" />
<add
applicationName="/site2"
name="Site2Membership" />
</providers>
</membership>
My question is if there are multiple providers defined in web.config, can a user login via other than the default provider?
In the given configuration, obviously a user stored in the default provider with an applicationName of "/site1" would be able to login, but we would like a user in the repository with an applicationName of "/site2" to also be able to login.
We've tried prefacing the username with both the provider name and applicationName at login, such as:
site2:username or site2Membership:username
Neither appears to work.
The end goal is that although we want the 19 sites to have seperate users and security (i.e. site 1 users cannot login to site 2), we want a 20th site where users from all the sites can login and collaborate without needing a second username/password.