Dave Marini
2006-07-03 18:09:02 UTC
We have a custom Membership Provider that we want to use with our Commerce
Site. I plugged this into the CSharpSite web config and enabled the
userProfile config section to use a custom ProfileDefinition that we created
to look at our schema rather than CS2007's default User Profile Schema. The
problem I'm having is that the CS2007 PreProcessHandler errors out and I'm
assuming it's because there isn't any value in
HttpContext.User.Identity.Name. I want my users to login and THEN have
CS2007 retrieve the profiles. We don't allow anonymous users in our store.
is there any way to make this work like this? or will I have to use
ProfileContext and load the custom Profile Definition everytime I want to use
it?
Thanks,
Dave
Site. I plugged this into the CSharpSite web config and enabled the
userProfile config section to use a custom ProfileDefinition that we created
to look at our schema rather than CS2007's default User Profile Schema. The
problem I'm having is that the CS2007 PreProcessHandler errors out and I'm
assuming it's because there isn't any value in
HttpContext.User.Identity.Name. I want my users to login and THEN have
CS2007 retrieve the profiles. We don't allow anonymous users in our store.
is there any way to make this work like this? or will I have to use
ProfileContext and load the custom Profile Definition everytime I want to use
it?
Thanks,
Dave