If a BIS service program is currently active, this tag implicitly performs a
StopService at the point this tag is rendered. See the description of the
StopService tag for details about how the service program is informed the session is ending, and the sequence of events that transpire.
Note, however, that the current or next call to
B$ReadRequest returns the
BIS-Fail-SessionTerminated result code instead of
BIS-Fail-ProgramTerminated.
This tag is most useful on a
goodbye page, but is optional because sessions are automatically terminated after a period of inactivity. However, explicitly ending
a session can be used to release system resources, or to force a new session to be started for the active client when the
next page is requested.