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

If the client is using Netscape, the browser can receive and store 300 total cookies and 4 kilobytes per cookie. And the no of cookie is restricted to 20 cookies per server or domain