Try OpenEdge Now
skip to main content
Developing WebSpeed Applications
Controlling WebSpeed Transactions : Defining state : Web object states

Web object states

The basic building blocks for all WebSpeed applications are Web objects. There are two states that can apply to Web objects:
Stateless Web objects are run and destroyed within a single web request. The WebSpeed agent which services them retains no context for the next time it runs the object.
State-aware Web objects maintain context running persistently on a locked WebSpeed agent. The locked agent is dedicated to the requesting client browser and awaits a response only from that browser until a specified time-out period has passed.
Note: Of the three basic types of Web objects, you can only make CGI Wrapper and HTML-mapping Web objects state-aware. Embedded SpeedScript Web objects can run as stateless Web objects on a locked agent, but cannot themselves lock an agent. They lack the method procedures and structure required to interact with the agent control program.