Avatar of webressurs
Flag for Norway

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);

Open in new window


Avatar of undefined
Last Comment

8/22/2022 - Mon