Try OpenEdge Now
skip to main content
Developing AppServer Applications
Design and Implementation Considerations : Security considerations : AppServer session access : State-aware operating mode
 
State-aware operating mode
For a state-aware AppServer, you can conveniently set a single export list for all AppServer agents, regardless of the connection, using the Startup procedure. Otherwise, you can set it, like on a state-reset AppServer, in the Connect procedure or some remote procedure executed by the client.
When the connection terminates on a state-aware AppServer, the disconnected AppServer agent maintains the last setting of the export list. If you want the export list to be empty at the start of every connection, you must explicitly reset the list at some point between connections. You can guarantee this for every AppServer session by resetting the list in the AppServer Connect or Disconnect procedure, as shown:
lReturn = SESSION:EXPORT(). /* Reset to empty */