Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 78996 invoked from network); 19 Jun 2008 01:58:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jun 2008 01:58:34 -0000 Received: (qmail 9034 invoked by uid 500); 19 Jun 2008 01:58:36 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 9012 invoked by uid 500); 19 Jun 2008 01:58:36 -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 9001 invoked by uid 99); 19 Jun 2008 01:58:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 18:58:36 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of scarleton@gmail.com designates 74.125.46.156 as permitted sender) Received: from [74.125.46.156] (HELO yw-out-1718.google.com) (74.125.46.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2008 01:57:46 +0000 Received: by yw-out-1718.google.com with SMTP id 6so305781ywa.84 for ; Wed, 18 Jun 2008 18:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Mt+soinrVICWZRwavlC3bDux23NEzfbFzb3uY2q23bM=; b=iBvjE8VaqBaqSceRRz1RWiCk+UKr/wKFwEsrzQJ3xW6ng0sr2+36Ah/sO5SQEZSUcV kScOkjBXPs3QvnCN+4oQX7+D13XPWQMJtqxmSInVsDS+K9TcZ/Kx+k+CQWR2OuW2Leul BG9e4Oa5AzudyCTWYgmeE5e35J5euz+BP/ZVw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=TrGak/yxMi800Kw8XWk9NltpTUGQENh9zA+S1djuFhAqg5oo5ayfxWJ1Gg1ZnwptUn o2PsGR54kv+rJJwTE33di3a4SYq6iggIIw4cHSHW6L3Fqq2GYCjgUQ9h02EnqR2I3aiW ZNCmrYfB1NocWn58fHTp6dLYaKnK7CEGixBUI= Received: by 10.151.143.3 with SMTP id v3mr2115689ybn.229.1213840684726; Wed, 18 Jun 2008 18:58:04 -0700 (PDT) Received: by 10.151.6.6 with HTTP; Wed, 18 Jun 2008 18:58:04 -0700 (PDT) Message-ID: <8d38ca0a0806181858meb1fc74j7b2296d0535be02d@mail.gmail.com> Date: Wed, 18 Jun 2008 21:58:04 -0400 From: "Sam Carleton" Sender: scarleton@gmail.com To: modules-dev@httpd.apache.org Subject: Re: setting cookies & ap_hook_check_user_id vs ap_hook_auth_checker In-Reply-To: <8d38ca0a0806181842s67286e52n4f92becf66ed67d6@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8d38ca0a0806181842s67286e52n4f92becf66ed67d6@mail.gmail.com> X-Google-Sender-Auth: 28053ebe5eb81e2d X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Jun 18, 2008 at 9:42 PM, Sam Carleton wrote: > I am looking for an example of setting a cookie in an apache module. > I found mod_auth_memcookie, but it only reads in cookies, it looks > like it relies on the php code to actually set the cookie. I forgot to add that the cookie that is set is going to be used as the session ID in the PHP code that is ultimately to handle the request once it has been OKed by the ap_hook_auth_checker code. Sam