Home Segments Top Top Previous Next

1059: Mainline

Cookies are URL specific; there is no danger that cookies placed by servlets executing in the servlet server or servlet servers associated with one URL will interfere with cookies placed by servlets executing in the servlet server or servlet servers associated with another URL.

Cookies are not servlet specific, however; cookies placed by one servlet on one servlet server are provided to all servlets that work with the client's browser. Thus, you can use cookies to communicate among servlets.