Re: Persisting data across handlers

2006-03-13 Thread Tom Schindl
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.

Re: Persisting data across handlers

2006-03-12 Thread Foo Ji-Haw
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?

Re: Persisting data across handlers

2006-03-12 Thread Tom Schindl
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 >

Re: Persisting data across handlers

2006-03-10 Thread Philippe M. Chiasson
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.

RE: Persisting data across handlers

2006-03-10 Thread Vipul Ved Prakash
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.

Re: Persisting data across handlers

2006-03-10 Thread Philippe M. Chiasson
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

RE: Persisting data across handlers

2006-03-10 Thread Vipul Ved Prakash
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:

Re: Persisting data across handlers

2006-03-09 Thread Jonathan Vanasco
pnotes http://perl.apache.org/docs/2.0/api/Apache2/RequestUtil.html#C_pnotes_

Persisting data across handlers

2006-03-09 Thread Vipul Ved Prakash
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