com-tecnick-tcexam-shared
[ class tree: com-tecnick-tcexam-shared ] [ index: com-tecnick-tcexam-shared ] [ all elements ]

Procedural File: tce_authorization.php

Source Location: /shared/code/tce_authorization.php



Page Details:

<p>This script handles user's sessions.


Just the registered users granted with a username and a password are entitled to access the restricted areas (level > 0) of TCExam and the public area to perform the tests.
The user's level is a numeric value that indicates which resources (pages, modules, services) are accessible by the user.
To gain access to a specific resource, the user's level must be equal or greater to the one specified for the requested resource.
TCExam has 10 predefined user's levels:

  • 0 = anonymous user (unregistered).
  • 1 = basic user (registered);
  • 2-9 = configurable/custom levels;
  • 10 = administrator with full access rights
</p>




Tags:

author:  Nicola Asuni
copyright:  Copyright &copy; 2004-2008, Nicola Asuni - Tecnick.com S.r.l. - ITALY - www.tecnick.com - info@tecnick.com
link:  www.tecnick.com
since:  2001-09-26
license:  GNU General Public License


Includes:

require_once('../config/tce_config.php') [line 67]
require_once('../../shared/code/tce_functions_authorization.php') [line 68]
require_once('../../shared/code/tce_functions_session.php') [line 69]
require_once('../../shared/code/tce_altauth.php') [line 135]






Documentation generated on Fri, 05 Dec 2008 16:03:50 +0100 by phpDocumentor 1.4.1