I am using SQL server2012 database in with default ASP.net Membership. I have To Applications in the aspnet_applications table.
Let A and B
From One application in the Web Project i am creating user for the second Application.which will store in the aspnet_users table
Let From Application A from web i am creating the user for Application B
using the following code
Membership.ApplicationName = "B";
MembershipUser user = Membership.CreateUser(username, Membership.GeneratePassword(7, 2), email);
And after creting this new user i am not able to access the Current Application (Application A) until i restart the project.
So what is the problem here?
How can i add user to another application ?
Thanks