Re: mod_perl forgets filled global variables

2001-04-01 Thread G.W. Haywood

Hi Werner,

On Fri, 30 Mar 2001, werner.schmidt-wilczek wrote:

 I am using mod_perl for our Intranet. The performance is great, but there
 are many sideeffects!

http://perl.apache.org/guide  :)

 sometimes it seems mod_perl has forgotten the array.

There are many ways of sharing data between your processes, and this
is a topic often discussed on this List.  You might like to search the
archives for things like DBM, tied hash, database, shared data, shared
variables.  There are links to search engines on the mod_perl home
page.  Also there are one or two things in the DIGEST which might
interest you, it has many useful references.

73,
Ged.
 




mod_perl forgets filled global variables

2001-03-30 Thread werner.schmidt-wilczek




Hi, my name is 
Werner Schmidt-Wilczek,

i am a programmer at 
the Policegovernment in Nuremberg, Bavaria, Germany.

I am using mod_perl 
for our Intranet. The performance is great, but there are many 
sideeffects!

An 
example:
I have a database 
with 5 items. I load this items one time in a hour in a array named 
ARTIKEL.
The array ARTIKEL 
ist declared in /usr/inclued/apache/modules/perl/startup.perl - i think its 
global an correct in this way -
all users can search 
in this array. But sometimes it seams mod_perl has forgotten the array. I call 
my script 4,5... times,
it runs correct but 
perhaps it has forgotten all the global filled variables - what 
happens.

I called the Dumper 
\@ARTIKEL and he says the array is filled, but next time the array is empty - 
what is my failure???

Please help 
me

I am looking forward 
to your answer
with 
greetings

Werner 
Schmidt-Wilczek