Managing Client-Side State with Cookies
In this next section we will add functionality to remember login details the next time a user visits from the same client (browser).
Introduction to Storing Session State on the Browser
WebObjects applications already have an excellent mechanism for managing Session state on the server.
However, Session state is transient. When the Session ends, its state or memory is discarded with it. So for example, login details are lost when the user finishes with an application.
This means that the next time the user wants to use that application, she will have to log in again to retrieve settings.
Thankfully, WebObjects applications can take advantage of client-side technologies as well. In particular, browser cookies ...
Get WebObjects® Developer's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.