are you sure you are trying to disconnect an AppServer and are not doing the disconnect on a variable that holds the session system handle instead of a "real" AppServer? It may also help if you include some code that shows what you are doing....
You cannot disconnect the session system handle. The session system handle can be used instead of an appserver handle so that you can run your appserver aware application when not actually having appservers (so when your client is connected to the database). I suggest you do something like this:
Code:
if valid-handle(<your-handle-variable>)
and <your-handle-variable> ne session
and <your-handle-variable>:connected()
then <your-handle-variable>:disconnect() no-error.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.