php session_id()s check
Posted: Thu Jan 22, 2004 2:11 am
Hi
I have to write a php site witch can use login/password.
But the login/password can access just olny one user in time.
My idea is I write the session_id (SID) to the table of user.
When somebody is logging in I compare the new user's SID and the
table of SID.
If it is not equal I would like to know is the SID of the table alive.
any idea ?
(sorry, i'm a beginner english student...)
I have to write a php site witch can use login/password.
But the login/password can access just olny one user in time.
My idea is I write the session_id (SID) to the table of user.
When somebody is logging in I compare the new user's SID and the
table of SID.
If it is not equal I would like to know is the SID of the table alive.
any idea ?
(sorry, i'm a beginner english student...)