Well the problem is that at this point haven't got any
connection/request hence no pnotes.
Tom
Foo Ji-Haw wrote:
> Philippe M. Chiasson wrote:
>
>> Vipul Ved Prakash wrote:
>>
>>
>>> Thanks, Philippe. For some reason I thought I had to use Apache's
>>> memory management abstractions for this.
Philippe M. Chiasson wrote:
Vipul Ved Prakash wrote:
Thanks, Philippe. For some reason I thought I had to use Apache's
memory management abstractions for this.
Out of curiosity, will using pnotes work just as well for your purpose?
Why does one have to create a APR::Brigade to pass a value?
If I want to pass 42 I could simply access it, no need to create a
Brigade or am I completely mistaken.
Tom
Philippe M. Chiasson wrote:
> Vipul Ved Prakash wrote:
>
>>Thanks, Philippe. For some reason I thought I had to use Apache's
>
Vipul Ved Prakash wrote:
> Thanks, Philippe. For some reason I thought I had to use Apache's
> memory management abstractions for this.
Nope, in your case, you could have been thinking 100% in Perl mode.
Philippe M.
ash
> Cc: modperl@perl.apache.org
> Subject: Re: Persisting data across handlers
>
> Vipul Ved Prakash wrote:
> >
> > Hi,
> >
> > I'd like to create an object in the PerlChildInitHandler and allow
> > access to this object in various PerlResponseHandlers.
Vipul Ved Prakash wrote:
>
> Hi,
>
> I'd like to create an object in the PerlChildInitHandler and allow
> access to this object in various PerlResponseHandlers. What's the best
> way to do this?
>
> I created a bucket brigade in childinit and associated it with the child
> pool and put the obj
Title: RE: Persisting data across handlers
Ah! Though I don't have access to an Apache2::RequestRec object in the childinithander. Any way I can pass pnotes from there?
cheers,
vipul
-Original Message-
From: Jonathan Vanasco [mailto:[EMAIL PROTECTED]]
Sent: Thu 3/9/2006 11:
pnotes
http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_pnotes_
Title: Persisting data across handlers
Hi,
I'd like to create an object in the PerlChildInitHandler and allow access to this object in various PerlResponseHandlers. What's the best way to do this?
I created a bucket brigade in childinit and associated it with the child pool a