RE: handler object: data sometimes resetting

2005-09-28 Thread Frank Maas
> Thanks, Frank, thanks, Damyan, for your answers. > > I've add testing info to my script, as you recommend: > > Editing: [2612]8068957.60529976$self current=0 > Editing: [2613]8068957.60529976$self current=0 > Editing: [2614]8068957.60529976$self current=0 > Editing: [2614]8068957.60529976$self

RE: handler object: data sometimes resetting

2005-09-28 Thread Taras Yurij Vasylovitch
Thanks, Frank, thanks, Damyan, for your answers. I've add testing info to my script, as you recommend: Editing: [2612]8068957.60529976$self current=0 Editing: [2613]8068957.60529976$self current=0 Editing: [2614]8068957.60529976$self current=0 Editing: [2614]8068957.60529976$self current=1 Editin

RE: handler object: data sometimes resetting

2005-09-27 Thread Frank Maas
Hi, I think you've just come accross the fact that in a normal setup there is more than one httpd process (and thus more than one perl interpreter) that is serving your requests. As each process starts at the same time and each perl interpreter has its own memory space, the fact that both creation

Re: handler object: data sometimes resetting

2005-09-27 Thread Damyan Ivanov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Taras Yurij Vasylovitch wrote: > And now i'll try to open this page (localhost/projects/tracadmin) in the > same time in 3 browser windows. After many times of "Refresh" hitting i > have such log: > Edited:0 at /home/yura/mod_perl/trac/admin/main.pm li

handler object: data sometimes resetting

2005-09-26 Thread Taras Yurij Vasylovitch
Hello all. I have a problem in writing mutlithread-safe application on mod_perl. I have a file main.pm which is my object implementation: package admin::main; 1; package svntrac::admin; use .. .. print STDERR "I am require\n"; $Apache2::PerlSections::Save = 1; $handlers::sv