Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 10694 invoked from network); 2 Apr 2004 16:08:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Apr 2004 16:08:47 -0000 Received: (qmail 4527 invoked by uid 500); 2 Apr 2004 16:08:31 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 4514 invoked by uid 500); 2 Apr 2004 16:08:31 -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 4501 invoked from network); 2 Apr 2004 16:08:31 -0000 Received: from unknown (HELO omta08.mta.everyone.net) (216.200.145.36) by daedalus.apache.org with SMTP; 2 Apr 2004 16:08:31 -0000 Received: from pmta04.mta.everyone.net (bigip3-snat [216.200.145.27]) by omta08.mta.everyone.net (Postfix) with ESMTP id 8CD2940274 for ; Fri, 2 Apr 2004 08:08:33 -0800 (PST) X-Eon-Sig: AQHAT7xAbZABThri4gIAAAAB,437a6a018fa298f1646c778e10b43c0b Received: from markhlaptop (213.48.13.39 [213.48.13.39]) by pmta04.mta.everyone.net (EON-AUTHRELAY) with ESMTP id 9ECDD5A7; Fri, 2 Apr 2004 08:08:33 -0800 From: "Mark H" To: "Cocoon Users" Subject: Problem redirecting in flowscript Date: Fri, 2 Apr 2004 17:08:28 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm having a problem doing redirects in flowscript (using a non-cocoon protocol). I've traced the problem to the code below and it says redirects to a new URL are not allowed in the comments. Can anybody tell me why this is? org.apache.cocoon.environment.wrapper.EnvironmentWrapper: /** * Redirect the client to a new URL is not allowed */ public void redirect(boolean sessionmode, String newURL) throws IOException { this.redirectURL = newURL; // check if session mode shall be activated if (sessionmode) { // get session from request, or create new session request.getSession(true); } } Mark H --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org