Hi all,
I have the following configuration.
Location /my
SetHandler perl-script
PerlAccessHandler MyCheck
PerlHandler MyHomePage
/Location
The PerlAccessHandler checks if the user cookie is valid and set a $r-notes()
entry to pass the user id to the MyHomePage handler which do his work
Mat wrote:
Hi all,
I have the following configuration.
Location /my
SetHandler perl-script
PerlAccessHandler MyCheck
PerlHandler MyHomePage
/Location
The PerlAccessHandler checks if the user cookie is valid and set a $r-notes()
entry to pass the user id to the MyHomePage
a redirect
call in it, it's too late for the browser to actually do
anything about it.
I managed to corner Nathan in New York (thanks, Nathan!).
He recommended a two-stage handler, one that processes the
components and content, and another that actually handles
the printing. Using $r-notes,
On Mon, 30 Oct 2000, Matt Sergeant wrote:
On Mon, 30 Oct 2000, Todd Finney wrote:
I'm concerned about putting large amounts of data into
$r-notes. Some of our script output can be pretty
heavy. If $r-notes can only take simple strings, how
large of a simple string is it safe to put
massive files. I'd imagine it would probably be limited by
available memory.
This is basically correct. The notes table is tied to Apache::Table,
If it's a huge amount of data and you don't want to bloat your
processes, why not pass a tempfile name/pointer/handle in $r-notes
and write the data
-Original Message-
From: G.W. Haywood [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 7:29 AM
To: Matthew Byng-Maddick
Cc: [EMAIL PROTECTED]
Subject: Re: maximum (practical) size of $r-notes
Hi all,
On Mon, 30 Oct 2000, Matthew Byng-Maddick wrote:
On Mon, 30
-Original Message-
From: G.W. Haywood [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 30, 2000 10:06 AM
To: Geoffrey Young
Cc: [EMAIL PROTECTED]
Subject: RE: maximum (practical) size of $r-notes
Hi all,
On Mon, 30 Oct 2000, Geoffrey Young wrote:
From: G.W. Haywood
On Mon, 30 Oct 2000, Geoffrey Young wrote:
that is my understanding... I guess that my point was that if you are going
to have the data in perl somewhere the memory is going to be taken (for
example, putting it in a tempfile but then local $/ and slurp). pnotes
allows for passing by
Hi Geoff,
On Mon, 30 Oct 2000, Geoffrey Young wrote:
Ged mumbled:
Won't Perl then just keep that memory until the child dies...?
that is my understanding... I guess that my point was that if you
are going to have the data in perl somewhere the memory is going to
be taken (for example,
On Mon, 14 Aug 2000, Andrew Fuqua wrote:
I'm trying to pass a path name with slashes as the value of a note, and
when I try to retrieve the note from another handler in the same
request, the note is not there. Code goes like this:
in a PerlInitHandler:
$r-notes('dir_name' = '/some/dir
I'm trying to pass a path name with slashes as the value of a note, and
when I try to retrieve the note from another handler in the same
request, the note is not there. Code goes like this:
in a PerlInitHandler:
$r-notes('dir_name' = '/some/dir/name/');
later, in a PerlAuthzHandler:
my
-Original Message-
From: Andrew Fuqua [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 12:44 PM
To: [EMAIL PROTECTED]
Subject: $r-notes with slashes
I'm trying to pass a path name with slashes as the value of a
note, and
when I try to retrieve the note from another
Geoffrey Young wrote:
-Original Message-
From: Andrew Fuqua [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 14, 2000 12:44 PM
To: [EMAIL PROTECTED]
Subject: $r-notes with slashes
I'm trying to pass a path name with slashes as the value of a
note, and
when I try
If I use $r-notes in a mod_perl handler, is it accessible via the
core apache request object in other non-perl modules?
$r-notes('foo','bar');
Is the value of notes stored in the core apache process and if so,
is it accessible by other modules by their similar r-notes
[EMAIL PROTECTED] (Sean Chittenden) wrote:
If I use $r-notes in a mod_perl handler, is it accessible via the
core apache request object in other non-perl modules?
$r-notes('foo','bar');
Yup, it's stored in the regular Apache notes table. That's why it has to be
flattened
Sean Chittenden wrote:
If I use $r-notes in a mod_perl handler, is it accessible via the
core apache request object in other non-perl modules?
$r-notes('foo','bar');
Is the value of notes stored in the core apache process and if so,
is it accessible by other modules
16 matches
Mail list logo