State Storage Strategies
WebObjects gives you the option of storing state in various ways:
- In the server. State is maintained in memory within a WebObjects application.
- In the page. State is embedded in the HTML page that's returned to the user.
- In cookies. State is embedded in name-value pairs ("cookies") in the HTTP header and passed between the client and server. Like "state-in-the-page," cookies store state on the client.
- In custom stores. State is stored using a mechanism of your own design.
You may find you need to control the amount of state that is stored. The sections "Controlling Session State" and "Controlling Component State" tell you how to do so.
Table of Contents Next Section