httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: APR::Request API for playing with cookies
Date Tue, 24 May 2005 15:37:58 GMT
Simon Perreault <nomis80@lqt.ca> writes:

> 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... 

It is for performance raisins, mainly,
but that's also how the C API works: if you
don't care about the objects stored in
our tables, you don't have to deal with them.

> Also, I can't do this, right?
>
> $req->jar->cookie_class('My::Class');
>
> This seems to not have any effect.

Correct.  It's a property of the $jar *variable*,
not the $req.

-- 
Joe Schaefer


Mime
View raw message