Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 75759 invoked by uid 500); 19 Sep 2001 17:31:59 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 75741 invoked from network); 19 Sep 2001 17:31:59 -0000 Message-ID: <20010919161700.40912.qmail@web12807.mail.yahoo.com> Date: Wed, 19 Sep 2001 09:17:00 -0700 (PDT) From: Davanum Srinivas Reply-To: dims@yahoo.com Subject: Re: Cookies still not working in latest dev snapshot To: cocoon-dev@xml.apache.org Cc: Paolo In-Reply-To: <000001c140df$75680300$0101a8c0@paolo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Paolo, Does changing the statement to "If (secure.equals("true"))" fix your problem? Thanks, dims --- Paolo wrote: > I am working on the latest dev snapshot > (xml-cocoon2_20010919041506.tar.gz) and I discovered that cookies are > still not working. > > Try the /cocoon/xsp/cookie example: a cookie seems to be correctly set > but when reloading the page and reading its fields, there are many > errors. > > a) MaxAge of cookie is always -1 > b) Path of cookie is "" > c) Value of cookie by name is 138443251455A59692E34472F4F97560 > (JSessionID) instead of correct value > d) Value of cookie by index is 0 instead of correct value > > I also looked into the code and I discovered that a recent patch seems > to be wrong into XSPCookieHelper.java: > > If (secure == "true") > > Should be replaced with: > > If (secure.equals("true") > > Is this a new bug, an old one or i missed something in my tests? > > I need cookies in my project, so I can resolve this if nobody has done > it or is working on that. > > Waiting answers and comments, > Paolo Scaffardi > AIRVENT SAM S.p.A. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > ===== Davanum Srinivas, JNI-FAQ Manager http://www.jGuru.com/faq/JNI __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org