Allow one session only at a time

I’ll suggest you to do something like this: Suppose when user “A” loges in to the “Com_1”, for the first time. Save a unique code in the database against that session, and same with the user session. At the mean time if he (user “A”) loges in again on “com_2”, then check his status in … Read more