Changes

Jump to navigation Jump to search
388 bytes added ,  12:50, 8 July 2020
no edit summary
| '''Summary'''
|Returns the session ID of a servlet request.
|-
| '''Errors'''
|{{Error|not-found|#Errors}} No session is available for the current client.
|-
| '''Examples'''
| '''Summary'''
|Returns the creation time of a session.
|-
| '''Errors'''
|{{Error|not-found|#Errors}} No session is available for the current client.
|}
| '''Summary'''
|Returns the last access time of a session.
|-
| '''Errors'''
|{{Error|not-found|#Errors}} No session is available for the current client.
|}
==session:get==
 
{{Mark|Updated with Version 9.3:}} Values that have no XQuery type will be returned as strings.
{| width='100%'
|-
| '''Errors'''
|{{Error|set|#Errors}} The supplied value cannot be materialized.<br/>{{Error|not-found|#Errors}} No session is available for the current client.
|-
| '''Examples'''
{| class="wikitable" width="100%"
! width="110" |Code
|Description
|-
|{{Code|set}}
|The supplied value cannot be materializedstored.|-|{{Code|not-found}}|No session is available for the current client.
|}
=Changelog=
 
;Version 9.4
* Updated: Only create session if required.
;Version 9.3
 
* Updated: [[#session:get|session:get]]: Values that have no XQuery type will be returned as strings.
;Version 9.0
 
* Updated: error codes updated; errors now use the module namespace
;Version 8.0
 
* Updated: Allow sequences as session values.
This module was introduced with Version 7.5.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu