Sessions

HTTP, the protocol used for communication between a browser and the Web server, is essentially stateless. This means that the Web server does not remember interaction with the browser.

A session is an interaction between the Web server and a client browser that is remembered by the Web server. The importance of maintaining a session becomes evident when developing server-side applications where the application needs to be able to identify and associate different browser requests with the respective browsers. Hence, sessions are primarily used to create a state between the browser and the Web server.

Maintaining a session can be carried out either on the server side or on the client side.

There are four primary ways of implementing session ...

Get Sams Teach Yourself BEA WebLogic Server 7.0™ in 21 Days 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.