You can create a boolean field in the user's table (logged), when the user logs, it is setted to true and when the session ends or the user logsout, set it to false, then create a query that extracts all user where logged=true.
+-----------------------------+ Juan Jose Velazquez Garcia www.htmlspider.com.br +-----------------------------+ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
