6 Introduction
encryption had to be discarded after that stateless connection was
closed, which is computationally expensive.
Shopping carts
: When a user added an item to their shopping cart
and navigated away from that page for other items, the cart would
be empty.
Logging in and tracking
: There were issues with Web site logins
and with keeping track of what a user does on a site once they’re
logged in.
To solve this problem, a separate session management scheme had to be
implemented. Cookies were designed and developed to enable servers to
maintain the state of a Web session. Several problems showed up right away:
Software frameworks such as PHP, .NET, AJAX, Ruby, and others
each had to support new models to reintroduce state management ...