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 6675149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:49:06+00:00 2026-05-26T03:49:06+00:00

so heres the problem, i have an if() statement that determines whether a user

  • 0

so heres the problem,

i have an if() statement that determines whether a user has visited my site before, if they have then they have an option for removing their record from the database. Problem is, i cant see any safe way to do this. They are public users.

Im just confused, id have to do it with ajax im guessing?!?

  • 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-26T03:49:06+00:00Added an answer on May 26, 2026 at 3:49 am

    When a user visits your site, store a cookie on their computer containing a large random number, preferably encrypted and a smaller id number. When storing the record in your database, include that same large random number, again preferably encrypted (both while in your database and in transit) and the id number.

    When a user wants to delete their record, they need only submit the id number and the large random number (preferably encrypted) that are stored on their computer, along with a flag indicating that they want to delete the record. (Of course they should not be doing this manually, you will need to write code that handles the dirty work.) Then, your server will look at the record with the specified id number, check if the large random number matches the one stored, and if so delete the record.

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

Sidebar

Related Questions

Alright, so heres my problem: I have an application I am working with that
I have a problem with going over an if statement that the code should
Here's my problem: I have a virtual method defined in a .h file that
Here's my problem: I have an unmanaged dll that I made.I'm calling one of
Problem Statement - Would like to know if particular web app user is active
I have an Access database that has two tables that are related by PK/FK.
I am making a site that determines the value of an array based on
In code that I inherited, I have a SqlDataSource that has a fairly complex
On IE when user hits back button they get the classic IE webpage has
I have an INSERT statement that looks like this: INSERT INTO officer (officer_number, name,

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.