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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux