Changes

Jump to navigation Jump to search
221 bytes added ,  14:20, 20 July 2022
no edit summary
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:ids||xs:string*}}
|-valign="top"
| '''Summary'''
|Returns the IDs of all registered sessions.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:created|$id as xs:string|xs:dateTime}}
|-valign="top"
| '''Summary'''
|Returns the creation time of the session specified by {{Mono|$id}}.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:accessed|$id as xs:string|xs:dateTime}}
|-valign="top"
| '''Summary'''
|Returns the last access time of the session specified by {{Mono|$id}}.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:names|$id as xs:string|xs:string*}}
|-valign="top"
| '''Summary'''
|Returns the names of all attributes bound to the session specified by {{Mono|$id}}.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:get|$id as xs:string, $name as xs:string|item()*}}<br/>{{Func|sessions:get|$id as xs:string, $name as xs:string, $default as item()*|item()*}}
|-valign="top"
| '''Summary'''
|Returns the value of an attribute with the specified {{Code|$name}} from the session with the specified {{Mono|$id}}. If the attribute is unknown, an empty sequence or the optionally specified {{Code|$default}} value will be returned instead.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:set|$id as xs:string, $name as xs:string, $value as item()*|empty-sequence()}}
|-valign="top"
| '''Summary'''
|Returns the specified {{Code|value}} to the attribute with the specified {{Code|$name}} from the session with the specified {{Mono|$id}}.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:delete|$id as xs:string, $name as xs:string|empty-sequence()}}
|-valign="top"
| '''Summary'''
|Deletes an attribute with the specified {{Code|$name}} from the session with the specified {{Mono|$id}}.
{| width='100%'
|-valign="top"
| width='120' | '''Signatures'''
|{{Func|sessions:close|$id as xs:string|empty-sequence()}}
|-valign="top"
| '''Summary'''
|Unregisters the session specified by {{Mono|$id}}.
! width="110"|Code
|Description
|-valign="top"
|{{Code|not-found}}
|The specified session is not available.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu