...
</pre>
* If any of the functions is called outside the servlet context, the error {{Error|basex:http|<code>[[XQuery Errors#BaseX Errors}} |basex:http]]</code> is raised.
* If the requested session is not found, the error {{Error|not-found|#Errors}} 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.