AdminPro Class
AdminPro is a user authentication class based on MySQL and the PHP Session functions. It was written for Web sites that need some password protected areas. It includes a user management application script and a MySQL table setup application script. The class can allow a user to login and logout via Web-based forms, expire the session of an authenticated user if it passed a given session timeout, display error messages and point the user to the login page when the user is not authenticated or the login session expired, and check whether a logged user has administrator or user group privileges.