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>
  1. dir specifies the session directory path.

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

<SESSION_DIRECTORY>/var/tmp</SESSION_DIRECTORY>
In this example, the session files are stored in subdirectories of /var/tmp/session.

By default, the SESSION_DIRECTORY entry is not set and session files are stored in the res.path.session resource, which points to the FGLASDIR $(res.appdata.path)/session directory.

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.