DIGIFORMS
Digiforms Designer Documentation
Search
About
+
Getting started
+
Howto
Help by samples
+
Objects
+
Page template
Capture or output data in a defined layout
+
XML
Extensible Markup Language
XML
XML Data
Datasources
Digiforms Built-in datasources
Session Data
$digiforms:sessionData
When building web applications, a stateful session is often required. Digiforms has built-in capabilities to hold common data across several forms for the active session.
Use the Session Data to
User identity
Store information about the user and his privileges
Filters for search dialogs
Keep search-parameters and previous field values throughout user session
Configuration
Various information can be stored to alter behaviour, endpoints and user interface
Configure as you like
The session data xml has no limitations on format.
As long as you define the $digiforms:sessionData prefix, any xml structure can be utlized.
Sample use: Getting a specific value from session data
If you want to retrieve a specific value from session data, you can query or evaluate session data using XPath:
<xsl:value-of select="$digiforms:sessionData/session/user/name"/>
xslt
Edit article