Changes

Jump to navigation Jump to search
14 bytes added ,  13:50, 30 January 2019
* The module will be available if the {{Code|basex-api}} library is found in the classpath. This is the case if you use one of the complete distributions of BaseX (zip, exe, war).
* All functions and errors are assigned to the <code><nowiki>http://basex.org/modules/session</nowiki></code> namespace, which is statically bound to the {{Code|session}} prefix. The Prior to {{Version|9.2}}, the module must needed to be imported in the query prolog:
<pre class="brush:xquery">
import module namespace session = "http://basex.org/modules/session";
...
</pre>
* In this document, the namespace is bound to the {{Code|session}} prefix.
* If any of the functions is called outside the servlet context, <code>[[XQuery Errors#BaseX Errors|basex:http]]</code> is raised.
* As sessions are side-effecting operations, all functions are flagged as ''non-deterministic''. As a result, some query optimizations will be suppressed.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu