O'Reilly logo

J2EE™ Applications and BEA™ WebLogic Server™ by Sandra L. Emerson, Rob Woollen, Michael Girdley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Servlets and Web Sessions

The Hypertext Transfer Protocol (HTTP) is by design a stateless protocol. However, an effective Web application requires that a series of requests from a particular client be grouped together. The notion of grouping multiple requests from a single client is typically referred to as a Web session.

Conventional Methods for Session Tracking Are Difficult

In the early days of the Web, few mechanisms were available for session tracking. The earliest of these was hidden form fields in pages. Later, this was supplanted by the use of cookies and URL rewriting. Cookies are defined text objects that can be placed in the user's offline store, via their browser. Subsequent requests to a site retrieve the cookie, which serves the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required