G
Guest
Hi,
Quick question about the login control. I'm intercepting the OnLoggedIn
event and doing the following:
MembershipUser user = Membership.GetUser();
However, the user object is always null despite a successful logon. I'm
assuming it's got something to do with when the cookie is written to actually
signify a successful logon and at this point the Membership provider doesn't
actually know that I've logged on... either that or it's a bug ;-)
I saw another post by someone seeing a similar problem when calling
IsUserInRole() always returning false....no answer from MS on that one....any
chance someone can answer this query or at least suggest another work around.
TIA
Pete
Quick question about the login control. I'm intercepting the OnLoggedIn
event and doing the following:
MembershipUser user = Membership.GetUser();
However, the user object is always null despite a successful logon. I'm
assuming it's got something to do with when the cookie is written to actually
signify a successful logon and at this point the Membership provider doesn't
actually know that I've logged on... either that or it's a bug ;-)
I saw another post by someone seeing a similar problem when calling
IsUserInRole() always returning false....no answer from MS on that one....any
chance someone can answer this query or at least suggest another work around.
TIA
Pete