Second question about childs. I not fully understand, how childs work.
In a little bit more details :
When you start Apache, one single process is started.
That's what you can call the "main" Apache.
It reads and checks the configuration, and bombs out if anything is wrong.
If nothing is wron
It's quite simple really. You're running 2 instances of the script. To
retain the value of $counter, read up the mod_perl documentation for tips.
CthuMP wrote:
I have follow simple script:
!#/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Counter: " . (++$counter) . "\n";
print tim
CthuMP wrote:
CthuMP wrote:
Starting that script twice in two different browser windows gives me same
results. In second window I start script after some period (about 10
seconds) after first script started. First and Second scripts ends at the
same time.
I have solved that problem.
If someo
CthuMP wrote:
I have follow simple script:
!#/usr/bin/perl
print "Content-Type: text/html\n\n";
print "Counter: " . (++$counter) . "\n";
print time(), "\n";
sleep(20);
print time(), "\n";
Starting that script twice in two different browser windows gives me same
results. In second window I st
roblem.
If someone interesting, it was an opera cache. Starting in different
browsers gives me correct results.
--
View this message in context:
http://www.nabble.com/mod_perl2-start-one-script-twice-tp20107113p20111625.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
seen mention about that situation in official documentations.
--
View this message in context:
http://www.nabble.com/mod_perl2-start-one-script-twice-tp20107113p20107113.html
Sent from the mod_perl - General mailing list archive at Nabble.com.