Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6180107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:47:20+00:00 2026-05-24T00:47:20+00:00

I am working on a Zend Framework application with PHP. I have a form

  • 0

I am working on a Zend Framework application with PHP. I have a form for sign up.

Now when a user sign up and got a user name that is available and the process of sign up is still not completed. And selected user name is not still saved in database. So at the same time no another one get same user name.

so please help how i can prevent that no another user can assign the same user name at same time.

for example a user does not exists in database i.e. mannecheema27

so that it should be free to register.
But the process of registering takes some time. Perhaps a user receives a phone call or may be some other reason, then I want that the selected user name to be reserved on sever for that time period until user save his/her registration or click on cancel registration button , so that whenever at same time another user check availability of user name i.e. mannecheema27 then in database it does not exists but it must be stored at sever so that no other user gets the same name.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T00:47:22+00:00Added an answer on May 24, 2026 at 12:47 am

    either accept it that the final registration will fail since another user chose this name, or when checking that the username is not registered do a ‘reservation entry’ in the user database that will then be later used (or at some point in time unreserved).

    The second one is more coding, but really the only way to go. If it is an application where you expect a lot of user creations, accept it that the final registration may fail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a huge php application with Zend framework, in that project
The Zend Framework based site I have been working on is now being migrated
I am working on implementing Zend Framework within an existing project that has a
I'm working on creating a domain layer in Zend Framework that is separate from
I am working on zend framework, PHP and jQuery. I am working on popups
All, I am working on a Zend Framework based web application. We keep encountering
My setup: Ubuntu LAMP, application built w/ zend framework My Problem: I have a
I recently got PHPUnit working with xDebug for testing my Zend Framework applications. The
i have the following code snippet, in an appliation working with Zend Framework. I
Zend Framework/Doctrine 2 application.: /app /modules /blog /controllers /BlogController.php /domain /entities /services /PostService.php /repositories

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.