The session model is determined by the AppServer configuration, in particular the setting of its operating mode, which can be state-reset, state-aware or stateless for a session-managed application service, and can only be state-free for a session-free application service. However, you must also implement your Open Client interface and program any Open Client applications according to the requirements of the application service, including its session model.
For more information on AppServer configuration and specific programming requirements for the different session models, see OpenEdge Application Server: Developing AppServer Applications.