Return-Path: Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 84834 invoked from network); 4 Jan 2000 03:40:31 -0000 Received: from mail.irt.drexel.edu (HELO mail.ocs.drexel.edu) (129.25.3.58) by 63.211.145.10 with SMTP; 4 Jan 2000 03:40:31 -0000 Received: from drexel.edu (client-151-197-111-32.bellatlantic.net) by mail.ocs.drexel.edu (Sun Internet Mail Server sims.3.5.1999.03.02.17.58.p5) with ESMTP id <0FNS0009WKUQ4H@mail.ocs.drexel.edu> for tomcat-dev@jakarta.apache.org; Mon, 3 Jan 2000 22:40:12 -0500 (EST) Date: Mon, 03 Jan 2000 22:42:15 -0500 From: Paolo Barolat Subject: Bug? Sender: pmb1@drexel.edu To: tomcat-dev@jakarta.apache.org Message-id: <38716C16.98D3B2C3@drexel.edu> MIME-version: 1.0 X-Mailer: Mozilla 4.7 [en] (X11; U; Linux 2.2.5-15 i586) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <20000104025307.81001.qmail@locus.apache.org> Hello. I have been doing some work with Tomcat and I think I might have found an issue. However, I'm new to this so I don't want to jump the gun. The specifications located at http://developer.java.sun.com/developer/earlyAccess/j2sdkee/doc-beta-2/api/javax/servlet/http/HttpServletRequest.html#getCookies() state: public Cookie[] getCookies() Returns an array containing all of the Cookie objects the client sent with this request. This method returns null if no cookies were sent. Returns: an array of all the Cookies included with this request, or null if the request has no cookies However, when I don't have any cookies on my browser from my site, the array is not null. Rather, when I have it print out on the responding page the length of the Cookie array, it says that the length of the array is zero. Is this a bug? Am I look at the wrong documentations? Do I have an olde version of Tomcat? Thanks, Paolo