ok here is the latest sql query SELECT username FROM users WHERE (logged_in=0 OR (NOW()-last_login) > 300 AND username='".$this->post['username']."'"
there is the idle time added but what after the idle time they log bak in and then kiks the first login out ? there must be a better solution ?? > > And you call that a viable solution? That's ridiculous. > > ---John W. Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php