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
In short, I have created a custom membership provider and a custom member. This is using the "old" .NET membership provider system.
Right now I can log in successfully, and the custom member is accepted by the system as well.
Note: Only methods implemented so far in the membership provider is "ValidateUser(name, pass)" and "GetUSer(username, isonline)"
The problem is, I cant get any info from the custom member. Nothing. Everything I have tried fails. I dont think it will even matter to list what I have tried, and Googling doesnt return anything that works.
Its funny how I feel like the only person in the world who has a custom member, but obviously I cant be :/
I am using Umbraco 7.5.2 if it helps.
Well this is my solution so far, in the custom membership provider, when getting the user during the log in process, I send the entire member object to the session.
In my view i do like this:
Site.Extensions.TripleAMembershipUser tmpUser = new Site.Extensions.TripleAMembershipUser();
if (Session["currentUser"] != null)
tmpUser = (Site.Extensions.TripleAMembershipUser)Session["currentUser"];
It gets the job done. But far from perfect.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted