P
Papanii Okai
Hi Guys,
I have a problem which I cannot seem to fix. I have a
registration page that requires users to fill in certain information. One of
the fields required is "user-Email". In my code behind page (c#), I used one
of the overloaded Membership.createUser() methods to create the user which
populates my aspnet_Membership table in the aspnetdb database. The problem I
am having is, if a user subscribes with an email address already in the
profile database, it still creates the user. In my web-config file under the
providers tag, I specify requiresUniqueEmail = "true". To be honest, I don't
know where else to look. I get the expected results if a user tries to
subscribe with an already existing username (I.e. user creation fails). I
double checked the database to see if the emails where somewhat different
but as I suspected, they where all the same. Any suggestions?
--Papanii
I have a problem which I cannot seem to fix. I have a
registration page that requires users to fill in certain information. One of
the fields required is "user-Email". In my code behind page (c#), I used one
of the overloaded Membership.createUser() methods to create the user which
populates my aspnet_Membership table in the aspnetdb database. The problem I
am having is, if a user subscribes with an email address already in the
profile database, it still creates the user. In my web-config file under the
providers tag, I specify requiresUniqueEmail = "true". To be honest, I don't
know where else to look. I get the expected results if a user tries to
subscribe with an already existing username (I.e. user creation fails). I
double checked the database to see if the emails where somewhat different
but as I suspected, they where all the same. Any suggestions?
--Papanii