Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: (qmail 39525 invoked from network); 26 Mar 2009 08:53:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Mar 2009 08:53:14 -0000 Received: (qmail 17840 invoked by uid 500); 26 Mar 2009 08:53:13 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 17794 invoked by uid 500); 26 Mar 2009 08:53:13 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 17784 invoked by uid 99); 26 Mar 2009 08:53:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 08:53:13 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sorinm@gmail.com designates 209.85.219.162 as permitted sender) Received: from [209.85.219.162] (HELO mail-ew0-f162.google.com) (209.85.219.162) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2009 08:53:06 +0000 Received: by ewy6 with SMTP id 6so431407ewy.24 for ; Thu, 26 Mar 2009 01:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=AF92FTXbleZN/RQWU3BgftI5m6TkjWKVW50O7PQ1Zsk=; b=jc1AN2q0qlRsmnfW3DY9RHpREiwmje9S37q1Z8uHitDPdBMHKZQz8pwQ0q1qfq0pp3 z4zg8kiJ0XIBhYRbj3dNU7EY2pVLOK2UBWMqkH9AxQ+buRZaXhl0LJpy5yR5nkT1lGel pFud75wi/ZMNKJKEcgkiplWNWWuxp+wHTu/Ck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=FSFnNQp6esjUNCIyWgpXQH7cfL0bOOUnFdtfzsVVufh9YklmM3Bo0r0RbUv9tbR5Oa +ambSAYBsKfH2vGEj6fuE2++jgJcjrqVfID5Pv8EDk7XVkBXYHxd4RS3A2dHN3Vn8Bsi P7hk3zMHIPbBj0mcLTgZ6uij09FOAM5DyDe8M= MIME-Version: 1.0 Received: by 10.210.19.7 with SMTP id 7mr498699ebs.15.1238057565683; Thu, 26 Mar 2009 01:52:45 -0700 (PDT) In-Reply-To: <49CB3EAE.8000700@pisa.iol.it> References: <49CB3EAE.8000700@pisa.iol.it> Date: Thu, 26 Mar 2009 09:52:45 +0100 Message-ID: <20170a030903260152s1d8fc893ledf92af790944658@mail.gmail.com> Subject: Re: Set-Cookie From: Sorin Manolache To: modules-dev@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Mar 26, 2009 at 09:37, Marco Spinetti wrote: > I have a doubt about ho to set multiple cookies. > I'm using apache 2.2 and in my module handler I'm trying to set two > different cookies with: > > apr_table_set(r->headers_out, "Set-Cookie", co); > > apr_table_set(r->headers_out, "Set-Cookie", co1); > > It seems that the second instruction override the first one. > So my question: how can I set two cookies in my module? apr_table_addn(r->headers_out, "Set-Cookie", cookie); -- A: Because it reverses the logical flow of conversation. Q: Why is top-posting frowned upon? A: Top-posting. Q: What is the most annoying thing in e-mail?