Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 82378 invoked from network); 24 May 2005 16:00:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 May 2005 16:00:04 -0000 Received: (qmail 28264 invoked by uid 500); 24 May 2005 16:00:03 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 28235 invoked by uid 500); 24 May 2005 16:00:03 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 28206 invoked by uid 99); 24 May 2005 16:00:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.photoresearchers.com (HELO mail.photoresearchers.com) (216.220.108.211) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 24 May 2005 09:00:01 -0700 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.photoresearchers.com (Postfix) with ESMTP id 95F3B336642 for ; Tue, 24 May 2005 11:59:35 -0400 (EDT) Received: from mail.photoresearchers.com ([127.0.0.1]) by localhost (mail.photoresearchers.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15333-07 for ; Tue, 24 May 2005 11:59:34 -0400 (EDT) Received: from [192.168.0.158] (host-216-220-108-222.dsl.bway.net [216.220.108.222]) by mail.photoresearchers.com (Postfix) with ESMTP id 4724A336644 for ; Tue, 24 May 2005 11:59:34 -0400 (EDT) Message-ID: <42934F65.4090209@photoresearchers.com> Date: Tue, 24 May 2005 11:59:33 -0400 From: Brian Organization: Photo Researchers, Inc. User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: apreq-dev@httpd.apache.org Subject: Re: APR::Request API for playing with cookies References: <200505241026.01591.nomis80@lqt.ca> <87acmkhf3r.fsf@gemini.sunstarsys.com> <200505241037.01021.nomis80@lqt.ca> In-Reply-To: <200505241037.01021.nomis80@lqt.ca> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at photoresearchers.com X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Simon Perreault wrote: > On Tuesday 24 May 2005 10:29, Joe Schaefer wrote: > >> $jar->cookie_class("My::Class"); >> my $cookie = $jar->{CookieID}; > > > There is no default class? My first impression is that this is strange... > > Also, I can't do this, right? > > $req->jar->cookie_class('My::Class'); > > This seems to not have any effect. > If 'cookie_class' were to return a reference to jar (does it?), it would seem plausible to write: my $cookie = $req->jar->cookie_class('My::Class')->{CookieID}; ...no? -- Brian Carp