This was beaten to death last week. The solution is not possible because it's not about restricting a single user from logging over multiple machines, it about restricting a single computer to only one session (so running IE, Firefox, Opera, Safari on same computer with different users would not be allowed).


Karl DeSaulniers wrote:
Yeah. Don't be concerned about which browser. Just set up an active users table in your database that gets checked at login. Then it doesn't matter which machine or browser. Unless you know that the computers are giving the true ip, there is no way to keep a user from logging in with two account on the same computer. Otherwise add the active users ip to the active users table and check it as well on login

Easy peasey


Sent from losPhone

On May 22, 2010, at 12:34 AM, Gautam Bhatia <> wrote:

On Friday 14 May 2010 12:48 PM, Jagdeep Singh wrote:
Hi All!

I am looking for a solution, I want a user to do a single Login only on a PC

E.g. If a User has logged on my website in Internet explorer, then he cant login on same website in another browser like Firefox etc with
same loginid or another.

Can I trace MAC address of a single machine to solve this issue?

Or is there a concept of GLOBAL COOKIE / Cross Browser Cookie which will
work for all browsers in a single machine..

I hope You will help me out


Jagdeep Singh
+91 9988009272

hi Jagdeep,
                I am not really sure , i got your question right but
there is something you can try if this helps, in the mysql dbase add
field like "loggedIn" , which can be true/false, when person logs in
change it to true , so even if the person is using other browser, you
can check the value from dbase, if user is already logged in or not. If
that makes sense to you , good luck.

Gautam Bhatia

PHP General Mailing List (
To unsubscribe, visit:

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 (
To unsubscribe, visit:

Reply via email to