use IP's if your talking about different locations logging in, or you can have a flag in database or something to hold a session variable name and when its logging in again - delete the old session variable name with the value u took from the database.
basically
login_click(){
Session.Contents.Remove(sqlConn.ExecuteScalar("select SessionVarName from UserTable where userid = '" + txtLoginID + "'");
}