The
SetEnv tag affects only the Service Engine's environment and not the BIS Request Handler's environment. The
Value(variable,ENV) tag will not retrieve variables set by this tag.
Multiple
SetEnv tags may be specified in a
.srf file and are processed in the order in which they occur. Note that these tags must precede the
StartService tag.
On BIS/IIS, the scope of a
SetEnv tag is the current request, not the current session. On BIS/Apache, the scope of the
SetEnv tag is the current session.
To unset an environment variable, omit the
=value. Note that an unset variable is different from a variable that has a blank (or empty) value.
All characters to the right of the equal sign up to the first space before the right-most parenthesis are stored as the value.
If the value is quoted as in the example above, quotes will also be set in the environment.