PHP Classes

how to control users on session: when one user login with one account with two computer

Recommend this page to a friend!
  All requests RSS feed  >  how to control users on session  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

how to control users on session

Edit

Picture of Melak Teshome by Melak Teshome - 5 years ago (2019-05-24)

when one user login with one account with two computer

This request is clear and relevant.
This request is not clear or is not relevant.

+1

when one user login with one account with two computer he must be logout from one

Ask clarification

2 Recommendations

PHP PDO MySQL Class: Access MySQL databases using PDO

This class is a wrapper to access MySQL databases using PDO.

It can connect to a given MySQL server using PDO and then can perform several types of database access operations. Currently it can:

- Perform arbitrary SQL queries
- Bind parameter values of prepared queries
- Retrieve all rows of query results into an array
- Retrieve a single row of query results into an array
- Retrieve the ID value of the last recorded inserted into a table
- Begin, end and cancel a transaction
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Clement Sam by Clement Sam package author package author Reputation 120 - 5 years ago (2019-07-16) Comment

You would need to do that on the database. Just store the session on the database so in case the user signs in on another you would be able to deal with it...


PHP Session MySQL Handler: Handler for storing session data in MySQL

This class implements a handler for storing session data in MySQL.

This is class based on Zebra_Session from Stefan Gabos that registers session handler functions to store and retrieve session data from MySQL databases using MySQLi.

It uses row locks to lock only individual session database table records while the current script session is being accessed.
This recommendation solves the problem.
This recommendation does not solve the problem.

+1

Picture of Dave Smith by Dave Smith Reputation 7620 - 5 years ago (2019-06-02) Comment

You would use a database to store the sessions so that you can check if a user is already signed in using another session.


Recommend package
: 
: