httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Octavian Rasnita" <>
Subject Re: [users@httpd] mod_perl issues
Date Tue, 06 Dec 2005 14:55:49 GMT
From: "Senthil Nathan" <>

Hi all,

these problems are related to Apache 2 and mod_perl 2

problem 1:
Im using mod_perl 2 on Apache 2. I am using HTML::Template to display the
data from the perl/cgi script.

For the first time loading the data is displayed properly. then for every
reload the data displayed on the template gets repeatedly displayed. ( i.e,
it gets accumulated. for 5 times reload 5 sets of data is displayed in the

Actually this problem is not seen on cgi/perl environment. Only with
mod_perl this problem occurs.

The program is not correctly written for working with mod_perl.
Perhaps it uses global variables and they are not re-initialized at program

ModPerl compiles the program only once.

Read on

problem 2:
in multiuser login, when an user logins to the application, only his dats
should be visible to him.
but in mod_perl other user's data is also seen ob every reload.

this problem also occurs only with mod_perl. not in cgi/perl env.

This is the same issue. The program is compiled only once and it keeps the
data in the memory. The next time it is ran, the next visitor will see the

I think this program uses ModPerl::Registry, right?

Try using ModPerl::PerlRun instead.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message