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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You are right, there is no caching in the MembershipProvider. It was my own caching who caused this problem!
ASKER