The HTMLDB_UTIL package provides utilities for getting and setting session state, getting files, checking authorizations for users, resetting different states for users, and also getting and setting preferences for users.
For a complete description of this package within the context of HTMLDB, see HTMLDB_UTIL in the Oracle HTML DB User's Guide.