Changes

Jump to navigation Jump to search
8 bytes added ,  18:43, 24 January 2017
==RESTXQ==
{{Mark|Introduced with 8.6:}}
Non-trivial web applications provide the ability for users to sign in and out. User handling can be realized with session attributes (see e. g. the [[DBA]] code).
<pre class="brush:xquery">
import module namespace Session = 'http://basex.org/modules/session';
declare %rest:path("'/set-session-id"') function local:f() { Session:set('id', "'joe"'), "'I am Joe"'
};
</pre>
;Version 8.6
* Added: The log directory can be changed with the {{Option|LOGPATH}} option.
* Updated: Evaluate Include session attributesin log data.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu