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

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

 



On 10-09-07 01:21 AM, Karl DeSaulniers wrote:
@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.

If I recall this thread from several months ago... the issue is not detecting that a single user is logged in multiple times (this is known to be trivial - congratulations you've solved a solved problem), but that a person is logged in from one computer multiple times (whether it be via different browsers or virtual machines) where the logged in account is not necessarily the same user account in each logged in instance.

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

--
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