/shared/code/tce_authorization.php

Description

<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>

  • since: 2001-09-26
  • link: www.tecnick.com
  • copyright: Copyright &copy; 2004-2006, Tecnick.com S.r.l. - Via Ugo Foscolo n.19 - 09045 Quartu Sant'Elena (CA) - ITALY - www.tecnick.com - info@tecnick.com
  • author: Nicola Asuni
Includes
require_once ('../config/tce_config.php') (line 47)
require_once ('../../shared/code/tce_functions_authorization.php') (line 48)
require_once ('../../shared/code/tce_functions_session.php') (line 49)

Documentation generated on Fri, 24 Nov 2006 21:16:15 +0100 by phpDocumentor 1.3.0RC3