Session Level
At the session level, the request-response loop looks like that shown inFigure 15.
- WOSession (in Java, WebSession)
- WOSessionStore (in Java, SessionStore)
Encapsulates the state of a session. WOSession objects persist between the cycles of the request-response loop. WOSession objects store (and restore) the pages of a session, the values of session variables, and any other state that components want to persist throughout a session. The number of pages stored by the session object is dependent on the page-cache size set in WOApplication. Setting the page-cache size is described in the chapter "Managing State". Each session object is identified by a unique session ID, which is reflected in the URL.
Provides the strategy or mechanism through which WOSession objects are made persistent. A WOSessionStore object stores session objects in the server or in the page (which can include Netscape cookies), and restores them upon request by the application.
Table of Contents Next Section