Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 99013 invoked from network); 7 Sep 2005 00:48:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2005 00:48:59 -0000 Received: (qmail 3013 invoked by uid 500); 7 Sep 2005 00:48:57 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 2087 invoked by uid 500); 7 Sep 2005 00:48:55 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 2073 invoked by uid 99); 7 Sep 2005 00:48:54 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 17:48:54 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [204.244.227.2] (HELO ns1.solarwinds.com) (204.244.227.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Sep 2005 17:49:07 -0700 Received: from [127.0.0.1] (S010600501825e33b.nb.shawcable.net [24.65.185.106]) (authenticated bits=0) by ns1.solarwinds.com (8.12.11/8.12.11) with ESMTP id j870mnPC013878 for ; Tue, 6 Sep 2005 17:48:51 -0700 (MST) Message-ID: <431E4716.3070800@kismetsoftware.com> Date: Tue, 06 Sep 2005 17:49:10 -0800 From: JD Daniels User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: Setting path for cookies in Tomcat / Cocoon References: <4751ee0be4a7db256ebf65c6eb24b45b@implements.be> <431E1299.6060907@kismetsoftware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ok i misunderstood. I didn't think it mattered where tcat saved the cookie... cookie.path("/") has worked for me. ie, i set a cookie at domain.com/ks/ cookie.path("/") and the cookie is set for domain.com JD Yves Vindevogel wrote: > It's not about cookies ......... It's about the path of a cookie set by > Tomcat for sessions > > On 07 Sep 2005, at 00:05, JD Daniels wrote: > > I use flow... > > var cookie = cocoon.response.createCookie("name",value); > cookie.path = "/"; > cookie.comment="Blah Blah"; > cookie.maxAge=157784630; > cocoon.response.addCookie(cookie); > > > JD > > > Yves Vindevogel wrote: > > Nobody ? > On 06 Sep 2005, at 16:19, Yves Vindevogel wrote: > Hi, > For reasons of sessions, I have to set the path of the cookies > to "/" > You need to set the cookie path to "/" within your servlet > container. Otherwise, for a Cocoon mounted on /cocoon the cookie > path will be /cocoon, and the cookie will be ignored when it is > proxied from a URL without the /cocoon. Set the cookie path to / > and your problem will go away. > How can I do this in Tomcat 5 or is this in Cocoon ? > Met vriendelijke groeten, > Bien � vous, > Kind regards, > *Yves Vindevogel* > *Implements* > > Mail: yves.vindevogel@implements.be - Mobile: +32 (478) 80 82 91 > Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 > Web: http://www.implements.be > / > First they ignore you. Then they laugh at you. Then they fight you. > Then you win. > Mahatma Ghandi./ > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > Met vriendelijke groeten, > Bien � vous, > Kind regards, > *Yves Vindevogel* > *Implements* > Mail: yves.vindevogel@implements.be - Mobile: +32 (478) 80 82 91 > Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 > Web: http://www.implements.be > / > First they ignore you. Then they laugh at you. Then they fight > you. Then you win. > Mahatma Ghandi./ > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > > Met vriendelijke groeten, > Bien � vous, > Kind regards, > > *Yves Vindevogel* > *Implements* > > > > Mail: yves.vindevogel@implements.be - Mobile: +32 (478) 80 82 91 > > Kempische Steenweg 206 - 3500 Hasselt - Tel-Fax: +32 (11) 43 55 76 > > Web: http://www.implements.be > / > First they ignore you. Then they laugh at you. Then they fight you. Then > you win. > Mahatma Ghandi./ > > > ------------------------------------------------------------------------ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org