Re: Multiple Login in a single PC should not be possible

From: Date: Tue, 07 Sep 2010 05:21:26 +0000
Subject: Re: Multiple Login in a single PC should not be possible
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.general 
Request: Send a blank email to php-general+get-307875@lists.php.net to get a copy of this message
@Jagdeep Singh Hi Jagdeep, I know it has been a while now, but I thought I'd let you know. Setting up a database with a session login and some checks and balances will allow you to do what you were wanting with controlling a user using multiple browsers on the same machine. I just finished my login system and it is set up with a session that checks the login status of a user on every page they go to. I was testing to see how some css was working on one of the user info pages, and so I was already logged into the account on safari, I then went to Opera and Firefox and tried to view the page I was on and they told me I was not logged in. I also tried logging in on those browsers and it did not let me. Hence, I know now it is possible to achieve the results your looking for. I just built a query to an ACTIVE_USERS table in my database on the login page and a session check when each page was visited. When a user successfully logs into the system, their username and time of login get stamped in this ACTIVE_USERS table for you to check against. You could even put a field in this table that stamps what page they are on. JAT Don't know if you still need help with this or not, but thought I'd let you know what I found out. Best, Karl DeSaulniers Design Drumm http://designdrumm.com

« previous php.general (#307875) next »