Hi all...
I have one database running several sites, with one 'user' table.
Each site registration is based around the users email address and password.
Each site uses a global application variable to identify the site. So when a user registers, the application variable for that site is added to the customer table.
I want to allow a user to register using the same email address if they so wish, but not on the same site.
So if a user wants to register
myself@myself.com on site 1 they can also register
myself@myself.com on site 2. But they cannot register the same email address on the same site.
I can check to see if the user's email address exists in the database using the code below. The registration page submits to itself and requests the email text field to check against.
Code:
if not CustomerRS.eof then response.redirect "UserTaken.asp
At the same time, i need to check if the email address is already registered on that particular site.
Andy