i came to know from one of stack overflow question that how we can prevent users to stop simultaneous login with same user on different pc.
How to prevent simultaneous login with same user on different pcs
the guy who wrote the question he said that he store session id in db and in every time any user login then read db to check the same session id exist in db or not. if exist then deny to login. i like to know that if i open a same site from different pc then session id would be different. how this kind of check can be successful by session id comparison. if i am wrong then please rectify me. looking for discussion to achieve this job perfectly. thanks