Can't retrieve form params using post methods, $r-notes and Apache::Request

2002-02-26 Thread Mat
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

Re: Can't retrieve form params using post methods, $r-notes and Apache::Request

2002-02-26 Thread Perrin Harkins
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

Re: maximum (practical) size of $r-notes

2000-11-01 Thread Todd Finney
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,

Re: maximum (practical) size of $r-notes

2000-10-30 Thread Matthew Byng-Maddick
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

Re: maximum (practical) size of $r-notes

2000-10-30 Thread G.W. Haywood
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

RE: maximum (practical) size of $r-notes

2000-10-30 Thread Geoffrey Young
-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

RE: maximum (practical) size of $r-notes

2000-10-30 Thread Geoffrey Young
-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

RE: maximum (practical) size of $r-notes

2000-10-30 Thread Matt Sergeant
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

RE: maximum (practical) size of $r-notes

2000-10-30 Thread G.W. Haywood
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,

Re: $r-notes with slashes

2000-08-31 Thread Doug MacEachern
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

$r-notes with slashes

2000-08-14 Thread Andrew Fuqua
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

RE: $r-notes with slashes

2000-08-14 Thread Geoffrey Young
-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

Re: $r-notes with slashes

2000-08-14 Thread Ken Williams
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

$r-notes()...

2000-01-14 Thread Sean Chittenden
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

Re: $r-notes()...

2000-01-14 Thread Ken Williams
[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

RE: $r-notes()...

2000-01-14 Thread David Harris
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