O'Reilly logo

Enterprise Java Programming with IBM WebSphere by Daniel Berg, Greg Hester, Mark Weitzel, Gary Craig, David Pitt, Jim Amsden, Kyle Brown, Russell Stinehour, Peter M. Jakab

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

Chapter 9. Managing Session State

Using servlets in complex applications introduces interesting challenges to the developer. Possibly the biggest challenge is to maintain the application state for users as they make multiple trips into your application. We call the information collected and maintained during these trips session data. Session data is temporary and only for use across a set of linked pages; transaction data is placed in permanent storage.

Session data is often converted into transaction data within the application. For instance, when a user chooses to save profile information, or checks out a shopping cart, the temporary session data becomes permanent. Correctly maintaining this type of information creates challenges and is a constant ...

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