Session Handling: HttpSession API
The Servlet API simplifies session handling to a great extent by wrapping all the session-handling functionality in the HttpSession API. State maintenance between the client browser and the servlet is done by the server's setting a cookie in the client browser. But unlike the plain cookie method of session handling, where all the session data was stored in the cookie as name-value strings, the onus of maintaining the session is undertaken by the WebLogic Server. The server maintains a mapping of session identifiers generated for different clients and the data stored for each session. Since this data is stored on the server side and only the identifier is passed back and forth between the client browser and the ...
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.