Closed Thread
Results 1 to 3 of 3

Thread: Cookie to stop users from using multiple accounts on my forum

  1. #1
    Redux is offline Newbie
    Join Date
    Jun 2009
    Posts
    1
    Rep Power
    0

    Cookie to stop users from using multiple accounts on my forum

    I'm writing a PHP script for a forum I use.
    When a user is temporarily banned from posting on the forum, it is designed to set a cookie that will disallow other users (or alternate accounts) from posting on the machine that the original user was banned on.

    However, I've hit a bit of a snag. The user could close their browser, clear cookies and create another account, and the script wouldn't be any the wiser.

    Is there any way I could prevent users from deleting the cookie and making a new account?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Oct 2008
    Posts
    4,060
    Blog Entries
    6
    Rep Power
    45

    Re: Cookie to stop users from using multiple accounts on my forum

    no, there is no way to stop a cookie from being deleted.
    Posted via CodeCall Mobile

  4. #3
    Jordan Guest

    Re: Cookie to stop users from using multiple accounts on my forum

    Exactly as Termana said. Even if the browser could be told not to delete it (which could easily be used for malicious intent), cookies are stored as a file and could be deleted by anyone that knows where they are store.

    Why not use the IP address? Or better yet, use the MAC address (although you would need to fetch it using JavaScript)?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 01-31-2011, 11:10 PM
  2. Replies: 0
    Last Post: 12-02-2010, 12:30 AM
  3. why dosent this set a cookie?
    By welton122 in forum PHP Development
    Replies: 20
    Last Post: 09-22-2010, 08:55 AM
  4. multiple users, multiple applications, one server.
    By Fittersman in forum Programming Theory
    Replies: 3
    Last Post: 07-15-2010, 08:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts