Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 5066 invoked from network); 8 Nov 2005 08:23:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Nov 2005 08:23:00 -0000 Received: (qmail 19881 invoked by uid 500); 8 Nov 2005 08:22:57 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 19241 invoked by uid 500); 8 Nov 2005 08:22:54 -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 List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 19230 invoked by uid 99); 8 Nov 2005 08:22:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2005 00:22:53 -0800 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ap-cocoon-users@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Nov 2005 00:22:47 -0800 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EZOjO-0003Ep-22 for users@cocoon.apache.org; Tue, 08 Nov 2005 09:21:26 +0100 Received: from 195.18.88.130 ([195.18.88.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2005 09:21:26 +0100 Received: from vincent.oostindie by 195.18.88.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 08 Nov 2005 09:21:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@cocoon.apache.org From: Vincent =?utf-8?b?T29zdGluZGnDqw==?= Subject: [2.1.7] LocaleAction and Cookie expiration Date: Tue, 8 Nov 2005 08:05:34 +0000 (UTC) Lines: 20 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 195.18.88.130 (Mozilla/5.0 (compatible; Konqueror/3.4; Linux) KHTML/3.4.2 (like Gecko)) Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I use the LocaleAction to manipulate the user's locale. I want this locale to be kept in the cookie after the session ends, so that it is still available if the user accesses the application at a later date. Examining the code for the LocaleAction and the I18nUtils I noticed that the cookie is stored for the current session only. There's no way to change this (other than patching the code, that is). By the way: I read elsewhere that using the LocaleAction is 'out of fashion'. However this is the only i18n example I could find in the Cocoon 2.1.7 examples. That's why I use it anyhow. Is there a simple way to persist the locale in a cookie for a longer period? A bit of Cocoon Flow maybe? TIA, Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org