R
Rhyno
Hi there
I've created protected ASP pages in my website following instructions in
article http://support.microsoft.com/kb/825498
Users are prompted to log on or register if they aren't already registered.
The registration form is split over two ASP pages. The first page simply
asks for email address, username and password and, on submit, posts to the
second ASP page.
The second page asks the user for contact details (name, address etc.)
I would like the first page of the registration to check the database to
find if there are any records with the same username or email address before
posting to the second page.
If the username or email address already exists, I want to return an error
prompting the visitor to try another username or email address.
I've set the properties of these fields in the access database to disallow
duplicates. However, if a visitor enters a username or email address that
already exists in the Access Database, the record is not added to the
database but the user is unaware and can complete and submit the registration
form.
Any help would be greatly appreciated!
Thanks in advance.
Ryan
I've created protected ASP pages in my website following instructions in
article http://support.microsoft.com/kb/825498
Users are prompted to log on or register if they aren't already registered.
The registration form is split over two ASP pages. The first page simply
asks for email address, username and password and, on submit, posts to the
second ASP page.
The second page asks the user for contact details (name, address etc.)
I would like the first page of the registration to check the database to
find if there are any records with the same username or email address before
posting to the second page.
If the username or email address already exists, I want to return an error
prompting the visitor to try another username or email address.
I've set the properties of these fields in the access database to disallow
duplicates. However, if a visitor enters a username or email address that
already exists in the Access Database, the record is not added to the
database but the user is unaware and can complete and submit the registration
form.
Any help would be greatly appreciated!
Thanks in advance.
Ryan