Terminate an ABL session
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
Terminate an ABL session
When to use:
To terminate an ABL session identified by the specified
sessionID. The terminateABLSession query is
useful to manage memory leaks and other bad sessions.
Query:
|
Note: In this
example, the token AGENT_ID must be replaced
with the application's agent ID or PID and the SESSION_ID token must be replaced with the session identifier.
Replace the token TERMINATE_OPTION with
Result:
0 for a soft or trappable termination of
the session, 1 for a hard stop of the session,
or 2 to allow the current requests to be
finished and then terminate the session.Returns a message that the session was terminated:
|