How many cookies can one set in the response object of the servlet? Also, are there any restrictions on the size of cookies?

Jorge Jordão

If the client is using Netscape, according to the Client-Side JavaScript Reference, the browser can receive and store

  • 300 total cookies
  • 4 kilobytes per cookie (including name)
  • 20 cookies per server or domain