A question about whether PHP programs are executed on different browsers at the same time

Source: Internet
Author: User
This is a problem that determines whether a PHP program is executed on different browsers at the same time. I have a program (assuming a single page). when this program is running, I don't want multiple browsers to run at the same time, because SESSION and COOKIE may cause different verification results due to different browser kernels, and the same time may occur, open three browsers with different kernels to determine whether PHP programs are executed on different browsers at the same time
The problem is that I have a program (assuming a single page). when this program is running, I don't want multiple browsers to run at the same time, because SESSION, COOKIE verification may be different because of different browser kernels, so that three browsers with different kernels can simulate three users to run the program at the same time.

How can we verify that a computer can run only one program at a time without being affected by the browser.

For example, if you log on to a web game, you cannot log on to multiple accounts in the same browser at the same time, but you can log on to three accounts simultaneously in three different browsers.

How can we verify to prevent such "multi-open" situations? Share:
------ Solution --------------------
How about mac + ip address verification?
------ Solution --------------------
Reference:
Quote: reference:

I have to remind you that the mac address can be forged...


Niu, is there any way to identify the only user?


Unless you discard all your browsers as clients and develop a dedicated client for access, there is no way.
------ Solution --------------------
Reference:
Quote: reference:

Quote: reference:

Quote: reference:

It's easy to have an account. The last logon kills the previous one and records the latest session id.


So how do I know which account corresponds to which account? I just prevent a user from logging on with multiple accounts at the same time, instead of logging on with only one user and one account.


Dizzy. why don't you know? When I log on, do I not judge that my account is not recorded? Is it True/False?


My goal is to prevent "one user opens more", so I want to be sure that this user can only use one account at the same time. if he has registered three accounts, if you use three different browsers to log on to the server, you can check whether the server is correct for each account. However, all three accounts log on to the server at the same time, I want to confirm that this user can only use one of them


Your goal is almost impossible because it is out of the computer technology field.
One natural person/legal person has three accounts. you need to determine the identity of a natural person (or legal person). unless you do the real name system, the best way to do this is to prevent the gentleman from defending against the villain (the same IP address is determined)

It's easy. if you play a game in a house and log on to the game with two accounts at the same time, you won't be able to determine whether it's a good combination of fun and fun.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.