Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Umbraco Version: 4.7.2.Net Version: 4.0Windows Version: 2008IIS Version: 7.5
For some reason after I have changed a username from code like this:
public static MembershipUser member = Membership.GetUser();umbraco.cms.businesslogic.member.Member membera = new umbraco.cms.businesslogic.member.Member((int)member.ProviderUserKey);membera.LoginName = UserName.Text;membera.Email = UserName.Text;
And then I clear the cache and logs out the user like this
umbraco.cms.businesslogic.member.Member.ClearMemberFromClient(membera.Id);FormsAuthentication.SignOut();HttpContext.Current.Session.Abandon();umbraco.cms.businesslogic.cache.Cache.ClearAllCache();
But for some reason the old username/email appears, when I log back on with the new username on several pages with getting the data like this:
public static MembershipUser member = Membership.GetUser();UserName.Text = member.Email;Email.Text = member.Email;
Anyone?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
members/templates are cached until a template has been updated from backend
Umbraco Version: 4.7.2
.Net Version: 4.0
Windows Version: 2008
IIS Version: 7.5
For some reason after I have changed a username from code like this:
And then I clear the cache and logs out the user like this
But for some reason the old username/email appears, when I log back on with the new username on several pages with getting the data like this:
Anyone?
is working on a reply...