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

  • SEARCH
  • Home
  • 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 6600311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:36:21+00:00 2026-05-25T18:36:21+00:00

An issue that has come to light is to open up our application (we

  • 0

An issue that has come to light is to open up our application (we can visualise it a bit like an online shop) to unregistered users.

At the moment, there is an admin system where staff are added by superusers and a website with customers who add themselves by registering.

We have been asked to allow customers to use the website without registering or logging in, but we don’t want to break the ‘orders’ table – we still need to refer to each customer individually and maintain the registered users functionality (address lookup, purchase history, etc). The main idea we’ve been mulling over is to use the unregistered customer’s email address as a replacement for the surrogate key (or a hash of it) in the customer table so that new and old customers can just enter their email address at checkout to be added to our database and receive confirmation of their order. The problem of different email addresses per customer can be alleviated by a ‘merge’ tool on the admin side, and the problem of multiple customers sharing the same email (some office environments) isn’t that much of a problem for us.

The main question is this: how do real-world applications handle unregistered users?

Update in response to answers

We don’t want to force registered users to login each time even if their email address is already on our system as a registered user. Also, if people are advocating using the email address as a key, how would you deal with a scenario where a registered account holder gives up their email address to someone else?

  • 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-25T18:36:22+00:00Added an answer on May 25, 2026 at 6:36 pm

    In our company, we do it this way:

    1. when ANY user makes an order, we look up his email (which he is required to specify and is unique) in customers table.
    2. If it isn’t there, we simply create the user (we already have all required data from the user’s order) and we mark him as registred=0.
    3. now we continue the order process with his user id.
    4. when somebody registers under that email, we simply update his credentials (whatever he specifies), while keeping his order history and whatever else. I don’t think that makes a security concern, the user is required to confirm the email address, so unless the account is really his, he wouldn’t register anyway.

    We don’t allow already registred email to create an order, so that should clear out your merging of emails, because nobody will be able to create a registered and unregistered account under one email address and when he’s done, he will never be able to shop unregistered again. Hope this helps.

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

Sidebar

Related Questions

This issue has come up in a distributed-multithreaded application I'm developing, where threads can
Our issue is that our project has files being downloaded using wget to the
I have an issue that has just recently come to my attention. We have
I have come across a large issue that i am having that has suddenly
I am a bit confused: We have a chat application that has a requirement
I have a strange issue that has arisen recently: Whenever I enter text, even
Here's my problem: there's an internal issue tracking system that has a nice summary
I'm having an issue with a standard ASP.NET page that has a TextBox and
I'm dealing with an issue with my current employer that has seriously made me
Quicksearch is really cool... but it has a usability issue that makes it behave

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.