SESSION_DIRECTORY
The SESSION_DIRECTORY
element specifies where to store the session files
of applications and services started by the GAS.
Syntax
<SESSION_DIRECTORY>dir</SESSION_DIRECTORY>
- dir specifies the session directory path. The default is set by the
$(res.path.session)
resource, which points to the $(res.appdata.path)/session directory.
Child elements
There are no child elements.
Usage
You use this element to specify where to store the session files of applications and services started by the GAS.
Usage example
#...
<INTERFACE_TO_CONNECTOR>
#...
<SESSION_DIRECTORY>/var/tmp/session</SESSION_DIRECTORY>
#...
</INTERFACE_TO_CONNECTOR>
#...
In this example, the session files are stored in subdirectories of
/var/tmp/session.Set SESSION_DIRECTORY with dispatcher override
httpdispatch -E res.path.session=<directory-of-your-choice>
This example sets the location of your session files with the dispatcher switch
(-E) by creating or overwriting the res.path.session
resource with
the path to the directory.
Parent elements
This element is a child of INTERFACE_TO_CONNECTOR.