Documentation Archive Developer
Search
Table of Contents Previous Section

Session Level

At the session level, the request-response loop looks like that shown in
Figure 15.

Figure 15. Request-Response Loop: Session Level

The objects dedicated to session management ensure that state with sessionwide scope persists between cycles of the request-response loop.

Two classes are involved at this level:

When a user makes an initial request to a WebObjects application, the application creates a session object (WOSession). At the end of the request-response cycle, the application stores the state-bearing session object using the facilities of WOSessionStore. With each subsequent cycle of the request-response loop for that user, the application restores the state of the session at the beginning of the cycle and stores it again at the end of the cycle. To learn more about how to use WOSessionStore, see the chapter "Managing State".

Table of Contents Next Section