The Potential of Cookies
Idea
Servlet sends a simple name and value to client
Client returns same name and value when it connects to
same site (or same domain, depending on cookie settings)
Typical Uses of Cookies
Identifying a user during an e commerce session
Servlets have a higher level API for this task
Avoiding username and password
Customizing a site
Focusing advertising
71
Servlets
www.corewebprogramming.com
Cookies and Focused
Advertising
72
Servlets
www.corewebprogramming.com
36