* The {{Code|basex-api}} package must be included in the classpath. This is always the case if you use one of the complete distributions (zip, exe, war) of BaseX.
* All functions are assigned to the {{Code|<code><nowiki>http://basex.org/modules/sessions}} </nowiki></code> namespace. The module must be imported in the query prolog:
<pre class="brush:xquery">
import module namespace sessions = "http://basex.org/modules/sessions";