Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 69461 invoked from network); 6 Dec 2004 21:18:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Dec 2004 21:18:00 -0000 Received: (qmail 93845 invoked by uid 500); 6 Dec 2004 21:17:48 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 93814 invoked by uid 500); 6 Dec 2004 21:17:47 -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 93799 invoked by uid 99); 6 Dec 2004 21:17:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from partridge.numericable.net (HELO partridge.numericable.net) (80.236.0.152) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 06 Dec 2004 13:17:47 -0800 Received: (qmail 18616 invoked from network); 6 Dec 2004 21:17:43 -0000 Received: from unknown (HELO localhost.localdomain) ([80.236.88.95]) (envelope-sender ) by partridge.numericable.net (qmail-ldap-1.03) with SMTP for ; 6 Dec 2004 21:17:43 -0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id B9E10384188E for ; Mon, 6 Dec 2004 22:17:42 +0100 (CET) Message-ID: <41B4CC76.5000803@zorel.org> Date: Mon, 06 Dec 2004 22:17:42 +0100 From: =?ISO-8859-1?Q?Aur=E9lien_DEHAY?= User-Agent: Mozilla Thunderbird 0.9 (X11/20041124) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Persist user =?ISO-8859-1?Q?=ABsessions=BB_with_cookie?= Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello. I'm wondering how to persist users informations. Not really the session (in the httpSession meaning, but only the authentication of the user). My main question is how to make that in the sitemap? The user will have a cookie, and the value of this cookie will be stored in the database. What is the best way to do? Doing a match on the cookie in the sitemap and then do a internal redirect to the requested page? Doing an action and putting it on every map:match? Or... ? In short, how can I implement the behaviour we can see on a lot of website, the little checkbox �remember me�. Rgds. -- Aur�lien --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org