Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Allowing a user to only login in once.

Status
Not open for further replies.
Feb 9, 2001
10
US
Is there a way in PHP that once a user is logged in. They can't go to another computer to log in again? I'm trying to eliminate concurrent sessions.
 
HI goddess,
you'll need to somehow keep track of current logged in
users. I usually create a current_login_table or file
and insert a record in that table everytime a user logs
in.
Everytime a user trys to login, first check to see if
the user is logged in by checking the current_login_table, then continue on with the rest of the login procedure.

cheers

Ken
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top