Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 99487 invoked by uid 500); 6 Mar 2002 13:08:22 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 99450 invoked from network); 6 Mar 2002 13:08:21 -0000 User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Wed, 06 Mar 2002 13:08:21 +0000 Subject: Saving/Retrieving Session or Request parameters in sitemap From: Robin Wyles To: Message-ID: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi All... I am new to Cocoon 2 and am currently prototyping a login/authentication routine. I am using SessionIsValidAction to check if the user is logged in, and if this fails they are redirected to the login page, the DatabaseAuthenticatorAction is then used to check the user's submitted login details against values stored in a database. This all works great. Now I would like to be able to save the original request URI before the SessionIsValidAction is called so I can then re-direct the user to when the DatabaseAuthenticatorAction is successful. Here are the pipeline fragments that control this: Can I do this using the default set of actions that come with Cocoon 2? I know that I can set a session attribute using the sessionPropagatorAction, but how do I read it again? I also know I can read a request parameter using the RequestParamAction but how do I set a request parameter? I would like to do this within the sitemap rather than resorting to XSP if possible. Thanks in advance, Robin Wyles --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: