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 17:12:12 GMT
Brian <brian@photoresearchers.com> writes:

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

Currently it returns the old class (undef here), 
but we could change the signature so that you get 
the old class by calling cookie_class with no arguments. 
That would make your idea work, and I like that.

Thoughts?

-- 
Joe Schaefer


Mime
View raw message