Home
What's
New?
com.oreilly.servlet
Servlet
Polls
Mailing
Lists
Servlet
Engines
Servlet
ISPs
Servlet
Tools
Documentation
Online
Articles
The
Soapbox
"Java
Servlet
Programming,
Second Edition"
"Java
Enterprise
Best Practices"
Speaking
& Slides
About
Jason
XQuery
Affiliate
Advertising
Info
|
Chapter 7 Examples from Java Servlet
Programming, 2nd Ed
- 7-1: Session tracking using hidden form
fields
- 7-4: Session tracking a hit count
- 7-6: Toying with the timeout
- 7-8: Snooping session information
Examples from other chapters:
- Example 7.1: Session tracking using hidden form fields
- This servlet demonstrates session tracking using hidden form
fields by displaying the shopping cart for a bookworm. Note that,
if you try this servlet, the buttons at the bottom of the page
it generates don't take you anywhere real.
- Example 7.4: Session tracking a hit count
- This servlet uses session tracking to count the number of times
a client has accessed it. The servlet also displays all the bindings
for the current session, just because it can.
- Example 7.6: Toying with the timeout
- This servlet demonstrates how to programmatically alter the
current timeout. On first execution, the current timeout displays
the application-wide setting. On second execution, the current
timeout displays two hoursbecause thats the timeout
set during the first execution.
- Example 7.8: Snooping session information
- This servlet snoops information about the current session.
|