Last post Oct 04, 2008 08:57 AM by drdexter33
Sep 29, 2008 06:21 PM|drdexter33|LINK
I have updated this project to allow a person to register on the Register.aspx in 2 scenarios.
1. A basic membership registration
2. A paid registration, which re-directs to paypal, where the user pays, and is redirected back to our classified app
The first type of registration works fine, i beleive it is using this code:
userProfile.MembershipType = 1;
And is populating all of the tables needed for a registration which *I think* are these 5 tables
For some reason, in the PayPal Registration registration, all of the tables:
Are getting populated, and I cannot determine why.
I've verified that the code is getting called on the redirection back from PayPal, and it seems to be virtually identical
userProfile.FirstName = (
userProfile.MembershipType = 2;
Perhaps a fresh set of eyes can see where I'm failing.
Sep 29, 2008 06:49 PM|mohi88|LINK
if you examine aspnet_membership table you can see columns related with user password and other columns related for the user last logon time and other datas (
http://msdn.microsoft.com/en-us/library/aa478948.aspx). here in you code i can see nothing related with that table atleast the password! you are not sending any datarelated
with that table .
check the createuser method of the membership here
hope this helps
notice : in your code MembersDB.CreateMember(username,
Membership.ApplicationName) here you can not override createmembership method wit huser name and application name. usernamse and password is the right way to do that
Sep 30, 2008 07:09 AM|drdexter33|LINK
thanks for your reply Muhanad
CreateMember is a method of a sealed class called MembersDB which was included in the Classifieds Application.
So I don't think that's the problem, since:
1. It's working for the Basic Membership Registration
So, all of that said...I guess I'm still stuck...
Oct 04, 2008 08:57 AM|drdexter33|LINK
I'm still having a problem getting this to work...