Hello,
I am trying to delete the anonymous user identifier and profile after he/she had registered. I tried:
public void Profile_MigrateAnonymous(object sender, ProfileMigrateEventArgs e) {
ProfileHelper anonymous = ProfileHelper.GetProfile(e.AnonymousID);
ProfileHelper profile = ProfileHelper.GetProfile(e.Context.Profile.UserName);
profile.Visitor = anonymous.Visitor;
profile.Save();
AnonymousIdentificationModule.ClearAnonymousIdentifier();
}I am using ASP.NET MVC and this is not firing ...I also tried to apply the following:AnonymousIdentificationModule.ClearAnonymousIdentifier();On my controller but it says I can only apply this if the user is authenticated.My idea to solve this is when a ...
Go to the complete details ...