=Conventions=
As sessions are side-effecting operations, all functions This module is included in this module are flagged as ''non-deterministic''. This means that the evaluation order complete distributions (zip, exe, war) of the functions will not be influenced by the compilerBaseX.
All functions are assigned to the {{Code|http://basex.org/modules/session}} namespace, which must be dynamically imported. In this documentation, the namespace is bound to the {{Code|session}} prefix. Errors are assigned to the {{Code|http://basex.org/errors}} namespace, which is statically bound to the {{Code|bxerr}} prefix.
If the module is called outside the servlet context, the error [[#BXSE0003|BXSE0003]] is raised.
As sessions are side-effecting operations, all functions are flagged as ''non-deterministic''. This means that the functions will not be reordered by the compiler.
=Functions=