| Potttsy 2004-08-13, 12:15 pm |
| Hiya,
Recently I have managed to get a complete ASP website created with create /
edit / delete facilites for administering registered users, however it is still
possible to cause errors when attempting to create a user with an identical
username (which is used as a primary key in the attached database). Could
someone be kind enough to point me in the right direction as to how I may
prevent this happening - so the admin attempting to create the 'faulty' new
user is redirected to a 'you are attempting to create a user with an identical
username' page?
I don't use a auto increment primary key as the username is used elsewhere in
the site for pointing the user to a unique area - or should I perhaps consider
using an auto increment primary key?
Any assistance appreciated
Carl Potts
|