webressurs
asked on
Howto clear cache after deleting MemberShipProvider user
I need to clear the membershipprovider cache after a user is deleted. How can this be done.Now, after deleting a user I need to run IIS reset to see that the user really is deleted!
Microsoft.Samples.SqlStoredProcedureProfileProvider._appName = appName;
MembershipProvider mp = Membership.Providers[appName];
mp.DeleteUser(userName, true);
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
You are right, there is no caching in the MembershipProvider. It was my own caching who caused this problem!
ASKER