httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: APR::Request API for playing with cookies
Date Tue, 24 May 2005 17:12:12 GMT
Brian <> 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};

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.


Joe Schaefer

View raw message