Return-Path: Delivered-To: apmail-cocoon-users-fr-archive@www.apache.org Received: (qmail 559 invoked from network); 11 Feb 2005 20:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Feb 2005 20:54:26 -0000 Received: (qmail 49214 invoked by uid 500); 11 Feb 2005 20:54:26 -0000 Mailing-List: contact users-fr-help@cocoon.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users-fr@cocoon.apache.org Delivered-To: mailing list users-fr@cocoon.apache.org Received: (qmail 49201 invoked by uid 99); 11 Feb 2005 20:54:25 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from kernighan.numericable.net (HELO kernighan.numericable.net) (80.236.3.114) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 11 Feb 2005 12:54:24 -0800 Received: (qmail 7844 invoked from network); 11 Feb 2005 20:54:21 -0000 Received: from unknown (HELO localhost.localdomain) ([80.236.88.95]) (envelope-sender ) by kernighan.numericable.net (qmail-ldap-1.03) with SMTP for ; 11 Feb 2005 20:54:21 -0000 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id D384A1C3F4A1 for ; Fri, 11 Feb 2005 21:54:18 +0100 (CET) Message-ID: <420D1B76.5030807@zorel.org> Date: Fri, 11 Feb 2005 21:54:14 +0100 From: =?ISO-8859-1?Q?Aur=E9lien_DEHAY?= User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users-fr@cocoon.apache.org Subject: Re: =?ISO-8859-1?Q?Cr=E9ation_de_cookie_en_flowscript=2E?= References: <420CFD3B.5060109@zorel.org> <420D06AC.9000803@zorel.org> <420D1761.5000001@zorel.org> In-Reply-To: <420D1761.5000001@zorel.org> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig775B5AC98C727E37F0B44F3F" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --------------enig775B5AC98C727E37F0B44F3F Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Aur�lien DEHAY wrote: > Bon, finalement, je nage un peu. > > Je cr�� le cookie, donc: > > var machin = cocoon.response.createCookie("myotis",generateCookie()); > > > J'ai un beau cookie, mais je voudrais changer le maxAge. Comment je > fais? J'ai essay� machin.setMaxAge(1), �a ne fonctionne pas. Quelqu'un > saurait �a? > -- > Aur�lien D�cid�ment, je vais en faire une habitude: var machin = cocoon.response.createCookie("myotis",generateCookie()); machin.maxAge = 365*24*60*60; machin.path = "/"; etc. etc. -- Aur�lien --------------enig775B5AC98C727E37F0B44F3F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCDRt6ZLQwrwq2fPYRAtwcAJ9ZJ4JuvRKPLgxxBT8As1ZUaJPC7ACbBaU9 5GT+99JRnjWE3npzOBroY8o= =gQkg -----END PGP SIGNATURE----- --------------enig775B5AC98C727E37F0B44F3F--