Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 8307 invoked from network); 26 Jul 2004 17:24:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Jul 2004 17:24:15 -0000 Received: (qmail 37328 invoked by uid 500); 26 Jul 2004 17:24:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 37039 invoked by uid 500); 26 Jul 2004 17:24:07 -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 Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 37025 invoked by uid 99); 26 Jul 2004 17:24:07 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=DNS_FROM_RFC_POST X-Spam-Check-By: apache.org Received: from [65.54.187.74] (HELO hotmail.com) (65.54.187.74) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 26 Jul 2004 10:24:03 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Jul 2004 10:21:09 -0700 Received: from 66.214.21.75 by by18fd.bay18.hotmail.msn.com with HTTP; Mon, 26 Jul 2004 17:21:09 GMT X-Originating-IP: [66.214.21.75] X-Originating-Email: [ahimsadesi@hotmail.com] X-Sender: ahimsadesi@hotmail.com Reply-To: ssukumar@ecologyfund.net From: "Sonny Sukumar" To: users@cocoon.apache.org Bcc: Subject: Re: map:redirect-to... Date: Mon, 26 Jul 2004 10:21:09 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Jul 2004 17:21:09.0628 (UTC) FILETIME=[F14103C0:01C47334] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N That's a good insight and a good question John, though actually the redirected URIs are *not* in the "secure/" directory. I did also read through the Cocoon docs on redirects but couldn't find the reason for the strange behavior. To quickly summarize again, the behavior is that the *second* redirect (the one after the action) is *always* executed when using internal redirects (i.e. with "cocoon:/"). BUT this problem disappears when I use HTTP redirects. I just don't wanna use HTTP redirects for this. :-/ Thanks again, Sonny >From: "John L. Webber" > >Hello Sonny, > >Are the resources showTestSucceededPage and showTestFailedPage in the >secure directory? Then you probably need to use cocoon:/secure/showXXX. > >See http://cocoon.apache.org/2.1/userdocs/concepts/redirection.html > >Hope this helps, > >John > >Sonny Sukumar wrote: >> >>Hey guys, >> >>I'm having a strange problem with map:redirect-to, where it doesn't seem >>to work right when I use the cocoon:/ protocol. Here's my example code: >> >> >> >> >> >> >> >> >> >> >> >>Even when the test succeeds I see the "showTestFailedPage" when using the >>cocoon:/ protocol, but everything works fine if I take out the cocoon:/ >>(to use HTTP redirects). >> >>I'd really prefer to use internal redirects, so how come it doesn't work? >>I might well be missing something. >> >>Thank you for your help! > >-- >--------------------------------------------------------- > Jentro Technologies GmbH > John L. Webber, Software Development >--------------------------------------------------------- > Rosenheimer Str. 145e 81671 M�nchen > Tel. +49 89 189 169 80 mailto:John.Webber@jentro.com > Fax +49 89 189 169 99 http://www.jentro.com >--------------------------------------------------------- >NOTICE: The information contained in this e-mail is confidential or may >otherwise be legally privileged. It is intended for the named recipient >only. If you have received it in error, please notify us immediately by >reply or by calling the telephone number above and delete this message and >all its attachments without any use or further distribution of its >contents. Please note that any unauthorised review, copying, disclosing or >otherwise making use of the information is strictly prohibited. Thank you. >--------------------------------------------------------- > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >For additional commands, e-mail: users-help@cocoon.apache.org > _________________________________________________________________ Discover the best of the best at MSN Luxury Living. http://lexus.msn.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org