On Mon, Dec 5, 2011 at 4:06 PM, Desilets, Alain
wrote:
> I am scared witless by the fact that many variables don’t get reinitialized
> between calls to the CGI scripts.
It's harder to write safe code for persistent environments than it is
for CGI. There's no question about that. Unfortunately,
Desilets, Alain wrote:
I'm a complete newbie to mod_perl, and after reading the following
documentation:
http://perl.apache.org/docs/1.0/guide/porting.html
I am scared witless by the fact that many variables don't get reinitialized
between calls to the CGI scripts.
Particularly scary is the
On Mon, Dec 5, 2011 at 1:06 PM, Desilets, Alain
wrote:
> I’m a complete newbie to mod_perl, and after reading the following
> documentation:
>
> http://perl.apache.org/docs/1.0/guide/porting.html
>
> I am scared witless by the fact that many variables don’t get reinitialized
> between calls to the
Hum... I'm puzzled.
According to this page:
http://docstore.mik.ua/orelly/weblinux2/apache/ch17_05.htm
One of the ways to avoid these kinds of problems is to:
"Put your code into modules as subroutines and call it from the main script -
for some reason global variables in the module will be in
I'm a complete newbie to mod_perl, and after reading the following
documentation:
http://perl.apache.org/docs/1.0/guide/porting.html
I am scared witless by the fact that many variables don't get reinitialized
between calls to the CGI scripts.
Particularly scary is the example provided on that
Thank you for your replay
yes, flush the headers is really work but only in IE (in Firefox it
doesn't work)
and its work only in cycle
while () {
$r->rflush;
$r->print( $_ );
};
when i use $r->rflush only one time (before cycle ) it doesn't work.
(i
On Mon, 2011-12-05 at 17:39 +0400, Denis Spichkin wrote:
[ . . . ]
> so now I need find out how generate page with out Content-Length in mod_perl
I believe you need to force Apache to flush the headers. Otherwise it
will try to compute and add the Content-Length header for you. See
http://perl.a
Thank you for your replay
I think I have find the way of solution of my problem
the difference between situation when output is shown gradually and
when output is shown at once
is:
when: Transfer-Encoding chunked
and unset Content-Length
the output show immediately without delay
and when:
Transf
On Monday, 05 December 2011 11:19:51 Denis Spichkin wrote:
> Trying to write a program for mod_perl2 that gradually display its
> output such as output from "ping" (output during PIPE execution).
>
> For example
> http://www.websitepulse.com/help/testreq.php?host=www.ya.ru&location=9&type=
> 1&si