Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 92773 invoked from network); 13 Jun 2008 09:45:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Jun 2008 09:45:35 -0000 Received: (qmail 70294 invoked by uid 500); 13 Jun 2008 09:45:26 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 69787 invoked by uid 500); 13 Jun 2008 09:45:25 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 69776 invoked by uid 99); 13 Jun 2008 09:45:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 02:45:25 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jun 2008 09:44:33 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1K75pz-0000dY-3O for users@tomcat.apache.org; Fri, 13 Jun 2008 02:44:51 -0700 Message-ID: <17819920.post@talk.nabble.com> Date: Fri, 13 Jun 2008 02:44:51 -0700 (PDT) From: mkweb To: users@tomcat.apache.org Subject: Tomcat will not create session cookie MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: info@mk-webservices.de X-Virus-Checked: Checked by ClamAV on apache.org Hello, I'm new to the forum. I have a strange problem with my tomcat installation. I'm using tomcat5.5.26 and struts for my web projekt. I configured the projekt in a context file, like this : I set the attribute cookies to 'true' because I want to have session cookies. Furthermore I added the following lines to the index.jsp to display the cookies : out.println("Cookies : "); Cookie[] cookies=request.getCookies(); if(cookies==null) { out.println("No cookies"); } else { Cookie MyCookie; for(int i=0;i