Hi,
I need to modify the request object before it is handed over to a protocol
handler. I'm using 2.0, so suppose I implement a Connection Handler, within
which i read from the socket directly .. modify the data read, now how do I
pass on this modified data to the Protocol Handler ?
Tx
Hi there,
On Fri, 6 Apr 2001, Joachim Zobel wrote:
> Is content negotiation somehow uncool? I could not find an
> Apache::Negotiate to interface with mod_negotiate and its remarkably
> little discussed.
Probably because whatever the results of the negotiation, Internet Exploder
will probably ig
Hi.
I still think about a way to use content negotiated templates. My favourite
solution is now to make my template filler a content handler for the
template direktory. The problem is to pass the data the handler should fill in.
How do I pass larger data structures to a subrequest? Is there a
Drew Taylor wrote:
>
> I have a slightly different twist on this question. We run Registry scripts on
> our site for debugging purposes. I would love to have a module for saving
> variables/data structures on a per-request basis (like the current Apache
> notes), but internally using pnotes under
Drew Taylor ([EMAIL PROTECTED]) said something to this effect on 01/30/2001:
> I have a slightly different twist on this question. We run Registry
> scripts on our site for debugging purposes. I would love to have a
> module for saving variables/data structures on a per-request basis
> (like the c
Robert Landrum <[EMAIL PROTECTED]> writes:
> I've never tried this, but you could store things into main using
> one handler and retrieve them with another, provided that you
> cleaned up afterward. If, for any reason you failed to cleanup, the
> server would leak memory... not that it doesn't al
I'm not sure what we're doing is very applicable. Ours is meant to be
used in HTML::Mason, so that the object is passed as an argument to any
mason components that need it. I wanted to have a definitive list of
methods, rather that let people just stick things into pnotes whenever
they felt like
I have a slightly different twist on this question. We run Registry scripts on
our site for debugging purposes. I would love to have a module for saving
variables/data structures on a per-request basis (like the current Apache
notes), but internally using pnotes under mod_perl, and some other mech
On: Tue, 30 Jan 2001 09:54:42 PST "Paul J. Lucas" wrote:
> Perhaps I've missed it, but is there a better way than the
> "notes" mechanism to pass data among handlers?
>
> The "notes" mechanism not only requires the notes to be
> scalars, but, apparantly, said scalars must
We created our own "request" object that gets passed to components that
might need it. We were concerned about pnotes becoming a big,
hard-to-debug global area.
=
Barry Hoggard
http://www.hoggard.org
__
Get personalized email addresses from Y
I've never tried this, but you could store things into main using one
handler and retrieve them with another, provided that you cleaned up
afterward. If, for any reason you failed to cleanup, the server
would leak memory... not that it doesn't already.
Robert Landrum
>Paul J. Lucas ([EMAIL P
Paul J. Lucas ([EMAIL PROTECTED]) said something to this effect on 01/30/2001:
> Perhaps I've missed it, but is there a better way than the
> "notes" mechanism to pass data among handlers?
>
> The "notes" mechanism not only requires the notes to be
> scalars, but, apparant
> -Original Message-
> From: Paul J. Lucas [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 30, 2001 12:55 PM
> To: [EMAIL PROTECTED]
> Subject: Passing data among handlers
>
>
> Perhaps I've missed it, but is there a better way than the
>
Perhaps I've missed it, but is there a better way than the
"notes" mechanism to pass data among handlers?
The "notes" mechanism not only requires the notes to be
scalars, but, apparantly, said scalars must also be simple
strings, i.e., no binary data cramme
ASHISH MUKHERJEE ([EMAIL PROTECTED]) said something to this effect:
> Hey all, I am in need of some help. Can anyone pls. tell me how I can pass data from
>a Handler to a script ? Can any session data etc. withing a Handler be made
>accessible within a script ? Also, how can I pass data between
Hey all, I am in need of some help. Can anyone pls. tell me how I can pass data from a
Handler to a script ? Can any session data etc. withing a Handler be made accessible
within a script ? Also, how can I pass data between Handlers invoked at different
stages of request processing ? eg. how ca
Hi!
> If you use $r->pnotes, you can just put a reference to an arbitrary data
> structure into it and it will still be there in the next handler. No
> need to serialize it with Data::Dumper. Better than using a normal
> global because it gets automatically cleaned up after the request.
Thanks
Thomas Klausner wrote:
> If there isn't, could it be implemented by dumping the data
> structure to $r->notes (with Data::Dumper) and have it eval'ed back
> by the next handler?
If you use $r->pnotes, you can just put a reference to an arbitrary data
structure into it and it will still be there i
On Sun, 12 Nov 2000, Dave Kaufman wrote:
> > Is there a module that can do "Stacked Handler Pipelining", but
> > doesn't pass around tied filehandles but data structures ?
Can't you allocate some generic namespace, or better yet, create your own
package called config and in that export function
"Thomas Klausner" <[EMAIL PROTECTED]> wrote:
> Is there a module that can do "Stacked Handler Pipelining", but
> doesn't pass around tied filehandles but data structures ?
Andreas König's Apache::HeavyCGI is a nice alternative approach to the use of stacked
handlers.
> If there isn't, could
Hi!
Is there a module that can do "Stacked Handler Pipelining", but
doesn't pass around tied filehandles but data structures ?
If there isn't, could it be implemented by dumping the data
structure to $r->notes (with Data::Dumper) and have it eval'ed back
by the next handler?
--
D_OMM
21 matches
Mail list logo