Jump to content

Recommended Posts

Hi there!

I'm working on a site with a big registration form, first of all a user will be requested and with ajax and php the site informs about availability, the problem is that by the time the user has finished filling the form, the name can be already taken. I don't know exactly how to face this problem the better way even though some posibilities come to my mind none of them seems to be the best one.

Any hints?

 

Hi there!

I'm working on a site with a big registration form, first of all a user will be requested and with ajax and php the site informs about availability, the problem is that by the time the user has finished filling the form, the name can be already taken. I don't know exactly how to face this problem the better way even though some posibilities come to my mind none of them seems to be the best one.

Any hints?

 

 

Hmm...maybe a locking mechanism of some kind?  Have a temporary name file/db that stores these in-use (but not fully registered) names so that when someone else tries to register on the site, the script checks both the member db and temp db?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.