Home Segments Top Top Previous Next

1052: Mainline

Eventually, you may want your servlets to store information on the client computer. For example, to provide a more informative interaction, you might want to keep track of the number of times that a client has voted, or you might want to store the client user's name, or you might want to prevent a client from voting for the same movie more than once.

To achieve such objectives, you have your servlet establish cookies on the client computer.