Re: my transhandler runs only once in each child ?!?

2000-08-13 Thread Matt Sergeant
On Sun, 13 Aug 2000, Greg Cope wrote: > Apache->push_handlers("PerlTransHandler", \&transhandler); push_handlers is temporary, not permanent. And this line only gets executed once. -- Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions

Re: Problem with form data using mod_perl and CGI.pm

2000-08-13 Thread Jie Gao
On Sat, 12 Aug 2000, stevenl wrote: > I am running Linux 2.2, Apache 1.3.12, mod_perl 1.24, and CGI.pm 2.70. > > If I declare a CGI variable using 'my' (see below) and use mod_perl, I > encounter problems with POST data. On subsequent entries in the form, > it continues to use the old data. >

Problem with form data using mod_perl and CGI.pm

2000-08-13 Thread stevenl
I am running Linux 2.2, Apache 1.3.12, mod_perl 1.24, and CGI.pm 2.70. If I declare a CGI variable using 'my' (see below) and use mod_perl, I encounter problems with POST data. On subsequent entries in the form, it continues to use the old data. The problem does not appear if I don't use 'my' (

my transhandler runs only once in each child ?!?

2000-08-13 Thread Greg Cope
Dear All I've a bug somewhere that I cannot appear to spot.. I have writen parts of a transhandler to handle session's. It works in once in each child and then does not appear to be executed again. I've looked through The Guide and could not see anything there, nor in the 'Apache modules in Pe

Cant set args to $r->arg(undef);

2000-08-13 Thread Greg Cope
Dear All Although this in no longer important to me, I cannot appear to reset $r->arg to an empty value. I am writing a transhandler and if the args containted a certain value I wanted to reset it to the args value without this value. hence: my $args = $r->args; # remove value $args =~ s/val