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
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
-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
"notes" mechanism to pass
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, apparantly,
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
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
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 also
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
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
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
11 matches
Mail list logo