Advertisement

Persistent Sessions

  • Aleksa Vukotic
  • James Goodwill

Abstract

So far, we have covered the basics about the HTTP protocol and how it’s used in a servlet container, like Tomcat. The HTTP protocol, like the Servlet API, has its foundations in the simple request/response mechanism. The state of the conversation between client and server is not maintained in such cases. In this chapter, we will see how the Java Servlet specification overcomes that challenge, and becomes stateful if required, using user sessions. In addition, we will learn how to configure Tomcat to store the session information for users accessing the site, so that it isn’t lost when the server crashes, for example.

Keywords

Session Information Session Data Session Manager Apache Tomcat Session Tracking 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Aleksa Vukotic and James Goodwill 2011

Authors and Affiliations

  • Aleksa Vukotic
  • James Goodwill

There are no affiliations available

Personalised recommendations