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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T15:33:56+00:00 2026-05-26T15:33:56+00:00

For my new project I need a voting script, which makes registered an unregistered

  • 0

For my new project I need a voting script, which makes registered an unregistered users of my website able to vote for content on that website. Users (registered and unregistered users) should only be able to vote one time for the same content. The registration of the votes from the registered users isn’t a problem, I think. I just put the user id and the content id in a table in my database, which I can check before I save the new votings in my database. But I’m not sure how to handle unregistered users. Is there a best practice to restrict the amount of votings a unregistered user can give for the same content?

I’m using PHP and mysql at the moment.

  • 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-26T15:33:57+00:00Added an answer on May 26, 2026 at 3:33 pm

    IMHO, the best way to handle unregistered users is to use cookies to remember that they voted. Of course, this system is not 100% secure as users can delete the cookie and vote again. To be more secure, you could associate the system with a registration of the IP address in the database.

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

Sidebar

Related Questions

I am fairly new to MySQL and have a project in which I need
I'm starting a new project which involves developing an interface for a machine that
For a new Android project I need buttons which are 'shining' when focused or
In near future I'll need to start working on a new project that consist
For a new project that I'm working on I need to set up a
For a new project I need to load big XML files (200MB+) to a
I'm investigating using MSMQ for my team's new project but I need to know
We are starting a rather complex new project at work, and need some sort
I'm working on a new project, a web application, where I need to focus
I'm trying to use URL rewrite in my new project. But I also need

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.