my login script checks for login name and password in the database, if true then set value for a session variable for example $_SESSION = $login --> this is to identify who got logged in.
however, if i have more than one user logged in to the system, then $_SESSION will get over written .. only the last user logged in session remains.
how am i supposed to have multiple users logged in at the same time with session?
is this possible with session? or if cookies have to be used.