I would like to add another membership provider in my webconfig. what I need to do is look at a Boolean true or false and change the system that they log into. This is for testing purposes. So they log into a membership database that is located on another server. Any ideas how to handle this in vb code dealing with login request and create request as well as the roles. Here is what I have tried.
Dim myProvider As SqlMembershipProvider
If mTestMode = False Then
myProvider = Membership.Providers("DefaultMembershipProvider")
myProvider = Membership.Providers("DefaultMembershipProviderDemo")
If myProvider.ValidateUser(mUserName, mPassword) Then