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
((MemberProfile)HttpContext.Current.Profile).FirstName = "Matthew"
((
MemberProfile)HttpContext.Current.Profile).FirstName = "Matthew"
After this I have something like so....what is the best way to update the umbraco cache to reflect the changes?
MembershipUser m_Member = Membership.GetUser(HttpContext.Current.User.Identity.Name); Membership.UpdateUser(m_Member);
MembershipUser
m_Member = Membership.GetUser(HttpContext.Current.User.Identity.Name);
Membership.UpdateUser(m_Member);
I have to click the button twice for the changes to be reflected client side. Refreshing the page after the first click and I still don't see the changes.
On my Profilebase class in the setter if I do base.Save(); then it works fine.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Best Way to Save Member Properties
After this I have something like so....what is the best way to update the umbraco cache to reflect the changes?
I have to click the button twice for the changes to be reflected client side. Refreshing the page after the first click and I still don't see the changes.
On my Profilebase class in the setter if I do base.Save(); then it works fine.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.