


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Session Tracking in Java Servlets Material Type: Notes; Class: Software Eng for WWW; Subject: Software Engineering; University: George Mason University; Term: Unknown 1989;
Typology: Study notes
1 / 4
This page cannot be seen from the preview
Don't miss anything!



Ye Wu http://www.ise.gmu.edu/~wuye/ SWE 642 Software Engineering for the World Wide Web sources: Java for the Web with Servlets, JSP and EJB, Kurniawan, New Riders Professional Java Server Programming, Patzer, Wrox
10/6/2003 © Dr. Wu and Dr. Offutt 2
HTML Form Server^
HTML Page
Data info
D D1+D2+D
Form1 Form2 Form3 Server
Form4 Server
D1+D2 D1+D2+D
D1+D2+D3+D
10/6/2003 © Dr. Wu and Dr. Offutt 3
10/6/2003 © Dr. Wu and Dr. Offutt 4
Client^ Request with a Token C
Server Response with a Token S
All four work by exchanging a token between the client and the server.
10/6/2003 © Dr. Wu and Dr. Offutt 7
10/6/2003 © Dr. Wu and Dr. Offutt 8
10/6/2003 © Dr. Wu and Dr. Offutt 9
10/6/2003 © Dr. Wu and Dr. Offutt 10
The servlet API uses cookies to provide a simple, safe, flexible method for session tracking
10/6/2003 © Dr. Wu and Dr. Offutt 19
domain path maps to servlet
10/6/2003 © Dr. Wu and Dr. Offutt 20
10/6/2003 © Dr. Wu and Dr. Offutt 21